You can create ToDo as a Webix view or as a standalone Jet app. Both ways will lead to the same result.
webix.ready(function() {
if (webix.env.mobile) webix.ui.fullScreen();
webix.CustomScroll.init();
webix.ui({
view: "todo",
data: base_data,
users: users,
projects: projects,
});
});
Related sample: ToDo: View Initialization
webix.ready(function() {
if (webix.env.mobile) webix.ui.fullScreen();
webix.CustomScroll.init();
var app = new todo.App({
data: base_data,
users: users,
projects: projects,
});
app.render(document.body);
});
Related sample: ToDo: JetApp Initialization
Back to top