hide

hides items of Sidebar

void hide(string|array ids);

Parameters

idsstring|arrayan ID or an array of IDs of items

Example

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

Related samples

See also
Back to top