myg-dialog
v0.13.8
Published
Dialogs can inform a user and receive inputs.
Downloads
5
Readme
Dialogs
Usage
Stylesheets
@import "myg-dialog/dialog"
Javascript
import MygDialog from 'myg-dialog';
document.addEventListener( 'ready', () => {
const mygDialogs = MygDialog.initAll( document.querySelectorAll('.myg-dialog'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygDialog = myg.MygDialog;
document.addEventListener( 'ready', () => {
const mygDialogs = MygDialog.initAll( document.querySelectorAll('.myg-dialog'), {} );
})