Web SDKv1.0.0

toolbar.groups

The group ids you want. A group you leave out is dropped with its tools — how a review product ships three tabs instead of six. Unknown ids are ignored. On the ribbon each group is a tab, in the order you list them. The bar arranges its tools its own way, so there the list only decides which tools appear. Dropped tools stay available to viewer.activateTool(), for hosts that draw their own buttons; use tools to switch a tool off entirely. The six ids and their tools are in the table below.

A group whose every tool is disabled through tools renders no tab and no cluster — you will not be left with an empty Annotate tab.

string[]default [] (all)

Example

groupsTypeScript
// A review product: mark-up first, then reading. No text editing, pages or security.
toolbar: { layout: 'ribbon', groups: ['annotate', 'review'] }

More in Toolbar