enable

enables disabled items of Sidebar

void enable(string|array ids);

Parameters

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

Example

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

Related samples

Details

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

// enables all Sidebar items
sidebar.enable();
See also
Back to top