Modal (extends KompElement)
Render any content into a modal
Example
Syntax
HTML
<komp-modal>Hello World</komp-modal>
JS
new Modal({content: "Hello World"})
Options
types | description | |
---|---|---|
content
|
String, HTMLElement, Array, Object |
content for the floater, uses Dolla's |