Namespace for all form related functions.
Classes
- ActionButton
A popper button
- ApiButton
A button that opens a popper element with possible actions.
- Button
A simple button
- ButtonBar
A configurable tab control
- ConfirmButton
A confirm button
- ContextError
A control that can be used to display a tooltip or a popover with an error message.
- ContextHelp
A control that can be used to display a tooltip or a popover.
- Form
A configurable form control
- FormField
A simple button
- MessageStateButton
A state button with icons and a message
- Popper
A popper button
- 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
- ToggleSwitch
A simple Switch
- TreeSelect
A highly configurable select control
Namespaces
- StyleSheet
- Namespace for all form related functions.
- Types
- Namespace for all form related functions.
- Util
- Namespace for all form related functions.
Members
(static, constant) ATTRIBUTE_BUTTON_CLASS :string
data-monster-intend
data-monster-intend
- string
- Since
- 1.9.0
- Deprecated
- since 3.32.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
(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
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 |
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 |
formatterSelectionCallback(value) → {string|undefined}
Name | Type | Description |
---|---|---|
value | * | Value |
- Type:
- string |
undefined
Events
event:monster-api-button-click
content fetched event
.content fetched event
- object
event:monster-api-button-failed
content fetched event
.content fetched event
- object
event:monster-api-button-successful
content fetched event
.content fetched event
- object
event:monster-button-clicked
button clicked event
.button clicked event
- object
event:monster-button-set
content fetched event
.content fetched 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-datatable-row-added
index
.index
- number
event:monster-datatable-row-copied
index
.index
- number
event:monster-datatable-row-removed
index
.index
- number
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 |