Custom Component - Toggle

In the following, the Proto UI version is squared rather than rounded, and does not change color when pressed?

http://webix.com/snippet/a8a53b28

The point is that the CSS doesn’t inherit by default. You need to define it as

$init:function(){
    this.$view.className = "webix_el_toggle";    
}

http://webix.com/snippet/05e987ab