attached([attached], [floating_position])
Class: ToolBar.
Description:
Sets or gets boolean whether the toolbar is attached to main Window. Has no affect if not attached to a Window yet.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
boolean |
|
|
|
Object |
Position on screen where toolbar should float {x:number, y:number}. |
Returns:
If no parameters were passed, current state is returned; otherwise this Toolbar component is returned for method chaining.
Type: boolean | ToolBar
