Constructor
new FragmentEditableFieldTooltip()
Members
(static, non-null) STATE :Object
State definition.
Type:
- Object
- Source:
alignElement :HTMLElement
Reference element the tooltip alignment is based on.
Type:
- HTMLElement
- Default Value:
- undefined
- Source:
(non-null) buttons :Array.<{id: !string, label: !string}>
List of buttons rendered inside the tooltip.
Type:
- Array.<{id: !string, label: !string}>
- Default Value:
- undefined
- Source:
Methods
_handleButtonClick(event)
Handles a button click.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent |
- Source:
_handleDocumentClick(event)
Hides the tooltip when a document click occurs outside the tooltip.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | The document click. |
- Source:
attached()
- Source:
created()
- Source:
disposed()
- Source: