proto

class webix.ui.proto(data)
Arguments:
  • data (object) – A configuration object

Proto view.

Referenced by

views
dataview(), list(), tree().

External references

Official documentation page.

Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
webix.protoUI({
    name:"proto",
    $init:function(){
        this.data.provideApi(this, true);
        this._dataobj = this._dataobj || this._contentobj;

        //render self , each time when data is updated
        this.data.attachEvent("onStoreUpdated",webix.bind(function(){
            this.render.apply(this,arguments);
        },this));
    },
    $setSize:function(){
        if (webix.ui.view.prototype.$setSize.apply(this, arguments))
            this.render();
    },
    _id:"webix_item",
    on_mouse_move:{
    },
    type:{}
}, webix.PagingAbility, webix.DataMarks, webix.AutoTooltip,webix.ValidateCollection,webix.RenderStack, webix.DataLoader, webix.ui.view, webix.EventSystem, webix.Settings);