addApp

adds a new app

void addApp(object app);
appobjectan app object

Example

desktop.addApp({
    name: "App 1",
    icon: "https://some.com/image.png",
    launch: () => ({ init: () => ({ template: "My app" }) }),
});

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.