Documentation Center

Command.getLabel

Description

Command.getLabel returns the label for the command.

myCounterCommand.getLabel = function (scope) {
  return "Update counter attribute on the document";
}

Syntax

Command.getLabel (scope : Scope) : String

Arguments

scope
Scope. The scope state.

Return Value

String. Label.