Classes
Members
disabled :boolean
The disabled state of the button.
Type:
- boolean
- Source:
hidden :boolean
The hidden state of the button.
Type:
- boolean
- Source:
layerName :null|string
The layer name associated to the feature-type attribute.
Type:
- null | string
- Source:
title :string
The title of the button.
Type:
- string
- Source:
(static) observedAttributes :Array.<string>
An array containing the names of all attributes for which the
element needs change notifications.
Type:
- Array.<string>
- Source:
Methods
attributeChangedCallback(name, oldValue, newValue)
Invoked when one of the element’s observedAttributes changes.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The name of the attribute that changed. |
oldValue |
string | The old value of the attribute. |
newValue |
string | The new value of the attribute. |
- Source:
click() → {void}
Click action
- Source:
Returns:
- Type
- void
connectedCallback()
Invoked when a component is added to the document's DOM.
- Source:
disconnectedCallback()
Invoked when a component is removed from the document's DOM.
- Source: