-
-
Notifications
You must be signed in to change notification settings - Fork 125
dialog
Marc Espín Sanz edited this page Apr 24, 2020
·
7 revisions
A dialog can be created using the Window constructor.
A simple example:
function entry(API){
const myDialog = new API.Window({
tite: 'My dialog',
content: 'Here it goes the body'
})
myDialog.launch()
}
The Window constructors takes only one object as argument, you must pass the component via the component property.
Properties:
- title: The dialog title,
- content: it's content
Your window's instance has a launch method used to open the window.
Documentation
Tutorials
Contributing
About