Class pwlib.appEvent.configChange
Extends
pwlib.appEvent.
Configuration change event. This event is not cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
pwlib.appEvent.configChange(value, previousValue, config, group, groupRef)
|
Field Attributes | Field Name and Description |
---|---|
Configuration property name.
|
|
Configuration group name.
|
|
Reference to the object holding the configuration property.
|
|
The previous value.
|
|
The new value.
|
- Fields borrowed from class pwlib.appEvent:
- cancelable, defaultPrevented, target, type
- Methods borrowed from class pwlib.appEvent:
- preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.configChange(value, previousValue, config, group, groupRef)
- Parameters:
- {String|Number|Boolean} value
- The new value.
- {String|Number|Boolean} previousValue
- The previous value.
- {String} config
- The configuration property that just changed.
- {String} group
- The configuration group where the property is found.
- {Object} groupRef
- The configuration group object reference.
- Throws:
- {TypeError}
- If the prop argument is not a string.
- {TypeError}
- If the group argument is not a string.
- {TypeError}
- If the groupRef argument is not an object.
Field Detail
{String}
config
Configuration property name.
{String}
group
Configuration group name.
{Object}
groupRef
Reference to the object holding the configuration property.
previousValue
The previous value.
value
The new value.