Various changes to undercards, an undertale fan-made card game.
This project is maintained by feildmaster
UnderScript wraps BootstrapDialog in a way that all of their dialog events call an event in the EventManager.
All events have access to the dialog
instance.
BootstrapDialog:create
: Created dialogBootstrapDialog:preshow
: Before dialog.show()
gets processed
BootstrapDialog:show
: in the process of renderingBootstrapDialog:shown
: finished rendering on screenBootstrapDialog:hide
: in the process of hidingBootstrapDialog:hidden
: finished hidingplugin.events().on('BootstrapDialog:create', (dialog) => {
// Do stuff here, `dialog` was created.
});
plugin.events().on('BootstrapDialog:preshow', function (dialog) {
// Do stuff here, `dialog` is being shown.
this.canceled = true; // Now it wont show.
});