icon

defines whether an icon will be displayed on a panel

string|boolean icon;

Example

webix.ui({
  view:"dashboard", id:"grid",
  gridColumns:4, gridRows:3,
  cells:[
    { view:"panel", icon:"mdi mdi-menu", x:0, y:0, dx:2, dy:1, body:{
        template:"cell 1" }},
    { view:"panel", icon:"mdi mdi-menu", x:1, y:1, dx:2, dy:1 , body:{
        template:"cell 2" }},
    // more cells
  ]
});


Default value:

false
Details

You can use any default or custom icons for a panel of the Dashboard.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.