Modal window management
Simply download and include with a script tag, Dialog
will be registered as a global variable.
<script src="../lib/dialog.js"></script>
<script>
var dialog = new Dialog();
</script>
<script src="https://unpkg.com/@nextgis/dialog"></script>
We recommend linking to a specific version number that you can update manually:
<script src="https://unpkg.com/@nextgis/dialog@0.19.0"></script>
NPM is the recommended installation method when building large scale applications with Dialog. It pairs nicely with module bundlers such as Webpack
# latest stable
npm install @nextgis/dialog
import Dialog from '@nextgis/dialog';
const dialog = new Dialog();
dialog.updateContent('Hello world');
dialog.show();
Need to fix a bug or add a feature to @nextgis/dialog? We provide custom development and support for this software. Contact us to discuss options!