$skin

the method which will be called when skin is defined

function $skin;

Example

webix.protoUI({
    view:"myview",
    $skin:function(){
     this.config.height = webix.skin.$active.inputHeight;
    }
}, webix.ui.view);

Details

Can be used to define custom per-skin logic.

The method is called only once per the component type (like a static constructor).

Beware that a newly defined method will override the same method of the base component.

Back to top
If you have not checked yet, be sure to visit site of our main product Webix web ui framework and page of javascript tree widget product.