Scope
Scope objects can be used to store command state across command invocations.
See the Command object methods for examples.
- Documentation
- › API
- › Global objects API
- › Scope
Scope object
methods
Scope.declare( variableName: String, initialValue: Boolean|Number|String|Object)Scope.get( variableName: String, fallbackValue: Boolean|Number|Object|String): Boolean|NumberScope.setListener( name: String, handler: Function reference)Scope.set( variableName: String, value: Boolean|Number|String|Object)