sets the Jet App class for the widget

void app(object app);
appobjectJet App class

The method is not intended to be called directly. It just points to the class of the Jet App which is used as a base for this widget.

After initialization, the instance of the inner Jet App class can be accessed via the $app property:

const app = $$("editor").$app;

You can read more about Jet App within Diagram Editor in the corresponding section.

See also
Back to top