id

the ID of a widget

string|number id;

Example

webix.ui({
    view:"flexlayout",
    id:"flex1",
    rows:[...]
});
// adds a template as a third cell to some existing layout
$$("flex1").addView({ template:"New one" }, 2);

Details

The parameter can contain any string or numeric value and doesn't have a limit on length.

It is used when referring to a widget to apply methods to it, attach events and get to its properties.

See also
Back to top