$cssName

name of the widget the CSS of which you want to inherit for a custom widget

string $cssName;

Example

webix.protoUI({
    name:"mybutton",
    $cssName:"button",
    //other properties and methods
}, webix.ui.button);
 
webix.ui({ view:"mybutton"});

Details

By default, a custom widget inherits API of the widgets and mixins that are used for it, but not CSS.

See also
Back to top