Description

(1.3.1) If, true, enables the ability to use multiple commands on single element

Usage

Type

{Boolean}

Default

{false}

Example

In ready method.

Here, only the second rectangle is displayed :

var el = this.createElement();
el.fillRect("green", 0, 0, 100, 100);
el.fillRect("red", 50, 50, 100, 100);

stage.append(el);

But, with multiple property, both are shown :

var el = this.createElement();
el.multiple = true;
el.fillRect("green", 0, 0, 100, 100);
el.fillRect("red", 50, 50, 100, 100);

stage.append(el);

Discussion