Classes
- Button
A simple button
- ButtonBar
A configurable tab control
- ConfirmButton
A confirm button
- Form
A configurable form control
- MessageStateButton
A state button with icons and a message
- PopperButton
A popper button
- Reload
A reload control
- Select
A highly configurable select control
- ShadowReload
A shadow reload control
- StateButton
A state button with icons
- Tabs
A configurable tab control
- Template
A template control
- TreeSelect
A highly configurable select control
Members
(static, constant) ATTRIBUTE_BUTTON_CLASS :string
data-monster-intend
data-monster-intend
- string
- Since
- 1.9.0
(static, constant) ATTRIBUTE_BUTTON_LABEL :string
data-monster-button-label
can be used to pass labels.This attribute data-monster-button-label
can be used to pass labels.
- string
- Since
- 1.6.0
(static, constant) ATTRIBUTE_FORM_DATASOURCE :string
data-monster-datasource
can be used to pass a datasource.This attribute data-monster-datasource
can be used to pass a datasource.
- string
- Since
- 1.6.0
(static, constant) ATTRIBUTE_FORM_DATASOURCE_ARGUMENTS :string
data-monster-datasource-arguments
can be used to pass arguments.This attribute data-monster-datasource-arguments
can be used to pass arguments.
- string
- Since
- 1.6.0
(static, constant) ATTRIBUTE_FORM_RELOAD :string
data-monster-reload
can be used to control the reload.This attribute data-monster-reload
can be used to control the reload.
valid values: onshow
- string
- Since
- 1.11.0
(static, constant) ATTRIBUTE_FORM_URL :string
data-monster-url
can be used to pass a URL to the control.This attribute data-monster-url
can be used to pass a URL to the control.
- string
- Since
- 1.0.0
(static, constant) ATTRIBUTE_HAS_CHILDREN :string
data-monster-has-children
data-monster-has-children
- string
- Since
- 1.8.0
(static, constant) ATTRIBUTE_INTEND :string
data-monster-intend
data-monster-intend
- string
- Since
- 1.8.0
(static, constant) ATTRIBUTE_VISIBILITY :string
data-monster-intend
data-monster-intend
- string
- Since
- 1.9.0
(static, constant) STYLE_DISPLAY_MODE_BLOCK :string
- string
- Since
- 1.0.0
Methods
(static) formatHierarchicalSelection(value) → {string}
This formatter can format a label hierarchically. The option formatter.separator
determines the separator.
a / b / c
This function can be passed as argument of the option formatter.selection:
.
Name | Type | Description |
---|---|---|
value | * |
- Since
- 1.9.0
- Type:
- string
(static) getVersion() → {Monster.Types.Version}
Version of monster
.Version of monster
- Since
- 2.1.0
- Copyright
- schukai GmbH
- License
- AGPLv3
- Type:
- Monster.
Types. Version
Type Definitions
Processor
- Object
Name | Type | Description |
---|---|---|
destination | String | |
source | String |
- Since
- 1.11.8
Selection
- Object
Name | Type | Description |
---|---|---|
value | * | |
label | String |
- Since
- 1.2.0
exampleActionCallback(e)
This action callback executes the actions when a button is clicked.
- {CustomControl}
Name | Type | Description |
---|---|---|
e | Event | Event |
exampleActionCallback(e)
This action callback executes the actions when a button is clicked.
- {CustomControl}
Name | Type | Description |
---|---|---|
e | Event | Event |
exampleFilterCallback(value, key)
With the help of this filter callback, values can be filtered out. Only if the filter function returns true, the value is taken for the map.
Name | Type | Description |
---|---|---|
value | * | Value |
key | string | Key |
- See
- Monster.Data.buildMap
formatterSelectionCallback(value) → {string|undefined}
Name | Type | Description |
---|---|---|
value | * | Value |
- See
- Monster.Data.buildMap
- Type:
- string |
undefined
Events
event:monster-button-clicked
button clicked event
.button clicked event
- object
event:monster-change
This event will be fired when something will change
.This event will be fired when something will change
- object
Name | Type | Attributes | Description |
---|---|---|---|
type | string | <optional> | event type |
value | string | <optional> | the value that was changed |
checked | boolean | <optional> | if it is a boolean value |
event:monster-changed
This event will be fired if something has changed
.This event will be fired if something has changed
- object
Name | Type | Attributes | Description |
---|---|---|---|
type | string | <optional> | event type |
value | string | <optional> | the value that was changed |
checked | boolean | <optional> | if it is a boolean value |
event:monster-fetched
content fetched event
.content fetched event
- object
Name | Type | Description |
---|---|---|
url | string | loaded uri |
event:monster-options-set
This event is fired when options are set
.This event is fired when options are set
- object
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | Array.<Object> | options Properties
|
event:monster-selected
This event is fired when something is selected
.This event is fired when something is selected
- object
Name | Type | Description |
---|---|---|
selection | array | |
event:monster-selection-cleared
This event will be fired when a selection is cleared
.This event will be fired when a selection is cleared
- object
Name | Type | Attributes | Description |
---|---|---|---|
type | string | <optional> | event type |
event:monster-selection-removed
This event will be fired when a selection is removed
.This event will be fired when a selection is removed
- object
Name | Type | Attributes | Description |
---|---|---|---|
type | string | <optional> | event type |
value | string | <optional> | the value that was changed |