enable

enables disabled items of Sidebar

void enable(string|array ids);

Parameters

idsstring|arrayone ID or an array of IDs of items

Example

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

Related samples

See also
Back to top