Skip to content
Marc Espín Sanz edited this page Mar 30, 2020 · 7 revisions

The Dialog constructor just needs an object with two properties.

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

Clone this wiki locally