Constructor
new TreeMenu()
A TreeMenu control
- Since
- 1.0.0
- Copyright
- schukai GmbH
- Monster.Components.TreeMenu.event:monster-fetched
Members
defaults
This method is called internal and should not be called directly.
The defaults can be set either directly in the object or via an attribute in the HTML tag. The value of the attribute data-monster-options
in the HTML tag must be a JSON string.
<monster-treemenu data-monster-options="{}"></monster-treemenu>
Since 1.18.0 the JSON can be specified as a DataURI.
new Monster.Types.DataUrl(btoa(JSON.stringify({
shadowMode: 'open',
})),'application/json',true).toString()
Name | Type | Default | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
toggleEventType | Object | click,touch | List of event types to be observed for opening the dropdown | ||||||||||||||||||||||||||||||||
templates | Object | Template definitions Properties
| |||||||||||||||||||||||||||||||||
datasource | Datasource | data source | |||||||||||||||||||||||||||||||||
mapping | Object | Properties
|
(static) observedAttributes
attributeChangedCallback()
.This method determines which attributes are to be monitored by attributeChangedCallback()
.
- Since
- 1.15.0
Methods
assembleMethodSymbol() → {Monster.Components.TreeMenu.Form}
- Type:
- Monster.
Components. TreeMenu. Form
initMethodSymbol()
(static) getCSSStyleSheet() → {Array.<CSSStyleSheet>}
This method is called internal and should not be called directly.
- Type:
- Array.<CSSStyleSheet>
(static) getTag() → {string}
This method is called internal and should not be called directly.
- Type:
- string