app

sets the Jet App class for the widget

void app(object app);
appobjectJet App class
Details

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 = $$("myChat").$app;

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

See also
Back to top