show()
shows items of Sidebar
show(ids?: (string | number) | (string | number)[]): void;
Parameters:
ids: string | number | array
- optional, an ID or an array of IDs of items
Example
sidebar.show("search");
// several at a time
sidebar.show(["search","currentButton","edit"]);
Related sample: Sidebar. Show/hide
Starting from v7.0, it is possible to show all items on the page at once by using the method without the parameter:
// shows all Sidebar items
sidebar.show();