Constructor
new ApiButton()
A button that opens a popper element with possible actions.
- Since
- 3.32.0
- Copyright
- schukai GmbH
Members
defaults
data-monster-options
must be used.To set the options via the html tag the attribute data-monster-options
must be used.
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mapping | object | The mapping object. Properties
| ||||||||||||||||||||||||
url | string | The url to fetch the data. | ||||||||||||||||||||||||
api | object | The api options. Properties
| ||||||||||||||||||||||||
callbacks | object | The callbacks object. Properties
| ||||||||||||||||||||||||
fetch | object | The fetch options. Properties
|
- See
- https://monsterjs.org/en/doc/#configurate-a-monster-control The individual configuration values can be found in the table.
(static) instanceSymbol
instanceof
operator.This method is called by the instanceof
operator.
Methods
assembleMethodSymbol() → {Monster.Components.Form.Popper}
fetch() → {Promise}
- Type:
- Promise
importButtons(data) → {Monster.Components.Form.ApiButton}
Import buttons from a map.
Name | Type | Description |
---|---|---|
data | array | |
- Since
- 0.16.0
map is not iterable
- Type
- Error
missing label configuration
- Type
- Error
(static) getCSSStyleSheet() → {Array.<CSSStyleSheet>}
- Type:
- Array.<CSSStyleSheet>
(static) getTag() → {string}
- Type:
- string