Documentation Center

Command.configure

Description

Initial setup of the command. Declare scope variables here.

myCounterCommand.configure = function (scope) {
  scope.declare("counter", 0);
}

Syntax

Command .configure (scope : Scope)

Arguments

scope
Scope . Object to save state to and from.