apps

an array of apps

array apps;

Example

webix.ui({
    view: "desktop",
    systemParams: user,
    apps: [{
            name: "spreadsheet",
            icon: "imgs/spreadsheet.png",
            pin: ["bar", "desktop"],
            launch: sParams => {
                ...
            },
        },
        ...
    ]
});

Related samples

Details

Each object in the array should have the following properties:

  • name - (string) the application name (must be unique)
  • launch - (function) the method called on application launch
  • icon - (string) optional, the application icon
  • id - (number | string) optional, app id
  • pin - (array) optional, defines where the application icon should be pinned. Possible options are "bar" and "desktop".
  • showNew - (boolean) optional, allows to open several windows of the same 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.