merges several objects and creates a new Webix component
target | object | the object to extend. It receives the new properties |
...mixins | mixins | one or many mixin objects |
object | the new view (target object) with the new properties |
webix.protoUI({
name:"editlist"
}, webix.ui.list, webix.EditAbility);
var list = webix.ui({
view:"editlist",
editable:true,
editor:"text",
editValue:"title"
});
The method merges the objects passed to it as parameters. The objects are merged in a certain order and together create a new Webix component.
The method is similar to proto, but proto is not used to create new views.