Opens the element when it is closed, closes it when it is open.
The dataElement of the element.
instance.UI.toggleElementVisibility(instance.UI.Panels.SEARCH); Copy
instance.UI.toggleElementVisibility(instance.UI.Panels.SEARCH);
Opens the element when it is closed, closes it when it is open.