Constructor
new Notify()
A highly configurable select control
- Since
- 1.0.0
- Copyright
- schukai GmbH
Example
import {Notify} from '@schukai/component-notify/source/notify.mjs';
const notify = document.createElement('monster-notify');
document.body.appendChild(notify);
Members
defaults
The defaults can be set either directly in the object or via an attribute in the HTML tag.
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-notify data-monster-options="{}"></monster-notify>
Since 1.18.0 the JSON can be specified as a DataURI.
new Monster.Types.DataUrl(btoa(JSON.stringify({
orientation: 'right top'
})),'application/json',true).toString()
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
templates | string | Template definitions | ||||||
templates | Object | Template definitions Properties
|
Methods
assembleMethodSymbol() → {Notify}
Returns:
- Type:
- Notify
push(message) → {Monster.Components.Notify.Notify}
Parameters:
Name | Type | Description |
---|---|---|
message | Monster. |
Returns:
(static) getCSSStyleSheet() → {Array.<CSSStyleSheet>}
Returns:
- Type:
- Array.<CSSStyleSheet>
(static) getTag() → {string}
Returns:
- Type:
- string