Command.configure
Initial setup of the command. Declare scope variables here.
myCounterCommand.configure = function (scope) {
scope.declare("counter", 0);
}
- Documentation
- › API
- › Global objects API
- › Command.configure
Command.configure( scope : Scope)
: Scope)Arguments
- scope
- Scope. Object to save state to and from, see Scope