merges the contents of several objects together into the first object and creates from it a new view
target | object | the object to extend. It receives the new properties |
view | object | the name of the new view |
mixin1 | object | an object that contains properties to merge in |
mixinN | object | another objects that contains properties to merge in |
object | the new view (target object) with the new properties |
webix.protoUI({
name:"mylist"
}, webix.ui.list, webix.ActiveContent);
var list = webix.ui({
view:"mylist"
});
The method is similar to proto. The only difference is that protoUI creates a new view based on the target object and proto doesn't. As for the rest, it's the same.
Back to top