Class pwlib.appEvent.historyUpdate
Extends
pwlib.appEvent.
History navigation event. This event is not cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
pwlib.appEvent.historyUpdate(currentPos, previousPos, states)
|
Field Attributes | Field Name and Description |
---|---|
Current history position.
|
|
Previous history position.
|
|
History states count.
|
- Fields borrowed from class pwlib.appEvent:
- cancelable, defaultPrevented, target, type
- Methods borrowed from class pwlib.appEvent:
- preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.historyUpdate(currentPos, previousPos, states)
- Parameters:
- {Number} currentPos
- The new history position.
- {Number} previousPos
- The previous history position.
- {Number} states
- The number of history states available.
- Throws:
- {TypeError}
- If any of the arguments are not numbers.
Field Detail
{Number}
currentPos
Current history position.
{Number}
previousPos
Previous history position.
{Number}
states
History states count.