module:nmodule/webEditors/rc/wb/mgr/commands/MgrCommand

module:nmodule/webEditors/rc/wb/mgr/commands/MgrCommand

Description:
  • API Status: Development

    Optional mixin type used to extend a bajaux Command with extra functionality used by
    a Manager view. Commands don't need to apply this mixin to be functional in a bajaux
    Manager, this can just provide additional behavior to any Command that requires it.

Source:

API Status: Development

Optional mixin type used to extend a bajaux Command with extra functionality used by
a Manager view. Commands don't need to apply this mixin to be functional in a bajaux
Manager, this can just provide additional behavior to any Command that requires it.

Methods

isShownInActionBar() → {Boolean}

Description:
  • Returns a Boolean indicating whether this Command should be shown in the 'action bar'
    at the bottom of the manager view. Defaults to true.

Source:
Returns:
Type
Boolean

setShowInActionBar(show)

Description:
  • Set whether this Command should be shown in the 'action bar' at the bottom of the
    manager view. The default behavior is to show all commands in the manager's command
    group at the bottom of the view. If called, it will typically be with a false argument
    show the command in the tool bar, but not in the main view.

Source:
Parameters:
Name Type Description
show Boolean

true if this instance should be shown in the manager's action bar.