redefines the "item" property
obj | object | the object with new "item" settings |
myDiagram = webix.ui({
view:"diagram",
// ...
item: {
type: "plus"
}
});
myDiagram.customize({ type: "rrect" });
myDiagram.refresh();
Remember, the method does not force repainting of the component. That is why after calling the customize() method you should call the refresh or render method methods to apply the newly-specified value
To change any component property (not the "item" one) - use define method.