defines new rendering type for the component
obj | object | component instance |
data | object | type configuration |
webix.type(webix.ui.list, {
name:"myItems",
template:"Item #name#, from #origin#"
});
// defined type can be used during view creating
webix.ui({ view:"list", type:"myItems" })