beforeHide

fires before hiding an item of Toolbar

boolean beforeHide(string id,Event e){ ... };

Parameters

idstringthe ID of a toolbar item
eEventa native event object

Returns

booleanfalse - to prevent hiding of a toolbar item, otherwise - true

Example

toolbar.events.on("BeforeHide", function(id, event){
    // your code here
    return false;
});

Related samples

Back to top