the name of the CSS class or the object with styles that will be applied to the view container
webix.ui({
view:"button", value:"Delete",
css:"webix_danger"
});
Buttons have four defined classes for coloring:
You can also set your own classes and styles:
webix.ui({
view:"button", value:"Delete",
css:"my_danger_style"
});
webix.ui({
view:"button", value:"Delete",
css:{ "background-color": "magenta" }
});
Note that styles will be applied to the container rather than the button directly.