Class pwlib.appEvent.commandRegister
Extends
pwlib.appEvent.
Command registration event. This event is not cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Command ID.
|
- Fields borrowed from class pwlib.appEvent:
- cancelable, defaultPrevented, target, type
- Methods borrowed from class pwlib.appEvent:
- preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.commandRegister(id)
- Parameters:
- {String} id
- The ID of the command being registered in an active PaintWeb instance.
- Throws:
- {TypeError}
- If the id is not a string.
Field Detail
{String}
id
Command ID.