Class dijon.CommandMap
dijon.CommandMap
Defined in: dijon.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
execute(commandClazz)
|
|
mapEvent(eventType, commandClazz, oneShot, passEvent)
|
|
unmapEvent(eventType, commandClazz)
|
Method Detail
execute(commandClazz)
- Parameters:
- {Class} commandClazz
- {...} ... Optional, Default: undefined
- Any number of parameters
mapEvent(eventType, commandClazz, oneShot, passEvent)
- Parameters:
- {String} eventType
- {Class} commandClazz
- {Boolean} oneShot Optional
- default false
- {Boolean} passEvent Optional
- default false
unmapEvent(eventType, commandClazz)
- Parameters:
- {String} eventType
- {Class} commandClazz