A simple, material-influenced, vanilla js custom element. A simple modal pop-up dialog --- material-influenced, vanilla js custom element
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>
Include the custom element in the html page
<daube-modal></daube-modal>
The following options are available within the daube-modal tag: