hide

hides items of Sidebar

void hide(string|array ids);

Parameters

idsstring|arrayoptional, an ID or an array of IDs of items

Example

sidebar.hide("search");
// several at a time
sidebar.hide(["search","currentButton","edit"]);

Related samples

Details

Starting from v7.0, it is possible to hide all items at once by using the method without the parameter:

// hides all Sidebar items
sidebar.hide();
See also
Back to top