disable

disables and dims items of Sidebar

void disable(string|array ids);

Parameters

idsstring|arraythe ID or an array of IDs of items

Example

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

Related samples

See also
Back to top