Skip to content

voxel/voxel-modal-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

voxel-modal-dialog

Modal dialog box element for voxel.js plugins

To use, inherit from ModalDialog and call the superclass constructor with game, {contents: [your DOM elements]}. ModalDialog itself inherits from voxel-modal to pause/resume game interaction when the dialog box element (an HTML div node with a border and background) is shown/hidden.

Used by:

Example screenshot:

screenshot

(Note: the element is empty by default)

License

MIT

About

modal dialog element using voxel-modal (voxel.js addon)

Resources

Stars

Watchers

Forks

Packages

No packages published