Constructor
new ContainerBlock(options)
Create a container block.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | Configuration options. |
Methods
addBlock(block)
Add the specified block to this block.
Parameters:
| Name | Type | Description |
|---|---|---|
block |
block | The block to add. |
draw()
Draw this block.
erase()
Erase this block.
initialize(parentElement)
Initialize this block by attaching it to the specified parent element.
Parameters:
| Name | Type | Description |
|---|---|---|
parentElement |
element | The parent element. |