Creating Document Manager

You can create Document Manager as a Webix view or as a standalone Jet app. Both ways will lead to the same result.

  • Create Document Manager as a Webix view:
webix.ready(function() {
    // use custom scrolls, optional
    if (!webix.env.touch && webix.env.scrollSize)
        webix.CustomScroll.init();
 
    webix.ui({
        view: "docmanager",
        url: "https://docs.webix.com/docmanager-backend/"
    });
});

Related sample:  Document Manager: Webix View Initialization

  • Initialize Document Manager as an instance of Jet app class and render it in the document body (or in any other container):
webix.ready(function() {
    // use custom scrolls, optional
    if (!webix.env.touch && webix.env.scrollSize)
        webix.CustomScroll.init();
 
    var app = new docManager.App({
        url: "https://docs.webix.com/docmanager-backend/"
    });
    app.render(document.body);
});

Related sample:  Document Manager: JetApp Initialization

Back to top