Toolbar.notifyContextChange Method

Notify a context change.
 

Parameters

contextCommands

Type: Array
ElementType: Command
The commands of the context.
keepPosition

Type: Boolean
(optional) If provided, the toolbar will not slide after adding the new context commands.
Optional: True