Constructor
new FloatingToolbar()
Members
(static, non-null) STATE :Object
State definition.
Type:
- Object
- Source:
anchorElement :HTMLElement
Element where the floating toolbar is positioned with
Type:
- HTMLElement
- Default Value:
- undefined
- Source:
buttons :Array.<object>
List of available buttons.
Type:
- Array.<object>
- Default Value:
- undefined
- Source:
fixSelectedPanel :boolean
If true, once a panel has been selected it cannot be changed
until selectedPanelId is set manually to null.
Type:
- boolean
- Default Value:
- false
- Source:
Methods
(static) _getElementHeight(selector)
Gets the height of the element matching the selector
Defaults to 0
Parameters:
Name | Type | Description |
---|---|---|
selector |
string |
- Source:
_handlePanelButtonClick(event)
Handle panel button click
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | Click event |
- Source:
attached()
- Source:
created()
- Source:
disposed()
- Source:
prepareStateForRender()
- Source:
rendered()
- Source: