daube-modal
v0.2.3
Published
A simple modal pop-up dialog --- material-influenced, vanilla js custom element
Downloads
25
Readme
daube-modal
A simple, material-influenced, vanilla js custom element. A simple modal pop-up dialog --- material-influenced, vanilla js custom element
Installation
npm install --save daube-modal
This custom element requires the webcomponents-lite polyfill in order to work on all browsers
Please see webcomponents.org for more information about Polyfills
Import the custom element by:
<script src="./node_modules/daube-modal/daube-modal-compiled.js"></script>
Usage
Include the custom element in the html page
<daube-modal></daube-modal>
Options
The following options are available within the daube-modal tag: