$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