Documentation

type

object that specifies items presentation

object| string type;

Example

list = webix.ui({
    view:"list",
    ...
    type:{
        height:50
    }
})

See also

Details

Attributes of the type object:

  • css - (string) the name of a css class that will be applied to component's items (the default name of the applied class is 'default').
  • height - (number) the height of an item in the component.
  • template - (function, string) an html template that will define item presentation in the component.
  • width - (number) the width of the items list.
Back to top