Gets a value indicating whether the ToolStrip is currently expanded.
Namespace: MindFusion.Common.UI
File: ToolStrip.js
JavaScript Copy Code |
---|
get expanded() {} |
Boolean. true if the toolstrip is expanded, otherwise false.
The following code checks if a ToolStrip is expanded and if not, hides it and detaches its event handlers.
JavaScript Copy Code |
---|
function windowClosing(sender, args) { if(!toolstrip.expanded) { toolstrip.visible = false; toolstrip.detach(); } } |