Constructor
new ContextError()
A control that can be used to display a tooltip or a popover with an error message.
- Since
- 3.55.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 | ||||||
---|---|---|---|---|---|---|---|---|
templates | Object | The templates for the control. Properties
| ||||||
mode | string | The mode of the popper. Possible values are | ||||||
content | string | The content of the popper. | ||||||
popper | object | The popper 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.
- Since
- 2.1.0
Methods
assembleMethodSymbol() → {Monster.Components.Form.PopperButton}
hideDialog() → {Monster.Components.Form.Popper}
setErrorMessage(message, show) → {Monster.Components.Form.ContextError}
Name | Type | Default | Description |
---|---|---|---|
message | |||
show | boolean | | false | If true the dialog is shown immediately. If false the dialog is hidden by default. If a number is specified the dialog is shown for the specified time in milliseconds. |
showDialog() → {Monster.Components.Form.Popper}
(static) getCSSStyleSheet() → {Array.<CSSStyleSheet>}
- Type:
- Array.<CSSStyleSheet>
(static) getTag() → {string}
- Type:
- string