Is there any method which can be called when resizer is used?
You can use onViewResize event handler on any view, it will be triggered after resizing view by resizer
No Luck
$$(‘dynamicToolBar’).attachEvent(“resize”, function () {
alert(“2”);
});
$$(‘dynamicToolBar’).attachEvent(“onViewResize”, function () {
alert(“3”);
});
As far as I can see, you don’t resize the toolbar itself, but its elements. So, the event should be attached to toolbar elements in question.
Webix offers the elementsConfig
property for toolbar and form, which allows to define common properties for the elements:
view:"toolbar",
elementsConfig:{
on:{
onViewResize:function(){
alert(this.config.id);
}
}
}
The event will fire once for each element that was resized with current resizer line movement.