onInit

fires on view initialization

void onInit(object app){ ... };

Parameters

appobjectview instance

Example

webix.ui({
  view: "chat",
  url: "https://docs.webix.com/chat-backend/",
  on: {
    onInit: app => {
      // do smth
    };
  }
});

See also
  • API
  • Back to top