Closed bob2517 closed 9 months ago
Possible syntax to open dialog: show-modal: selector;
Check the native close and cancel dialog events work as existing syntax.
Also has close and show methods. May need to do something like dialog-open, dialog-show, dialog-show-modal instead. Or dialog: selector (show|show-modal|close);
as a shorthand. Eg. dialog: #myDialog show-modal;
.
Tagging for 2.15.0
Going with this for now to avoid confusion:
dialog-show: selector;
dialog-show-modal: selector;
dialog-close: selector;
Changing to this to simplify a bit - it's a bit messy with two pages in the docs to look at when learning how to show the two different types of dialog:
dialog-show: selector [modal];
dialog-close: selector;
Now on branch. Docs offline are complete, along with an example for using the return value from a dialog box form.
Closing pending release.
Per title.