Manages interaction with the browser history and back button.
NOTE: You must load your lzx with the lzt=history wrapper HTML to use LzHistory.
The LzHistory service manages interaction with the browser history and back button. Save state as often as you like, and advance the history when a new 'page' of values is required.
| next() | ||
| LzHistory.next() | ||
|
Step back one step in the history stack. Adds an item to the browser history stack. |
||
|
|
| prev() | ||
| LzHistory.prev() | ||
|
Step forward one step in the history stack. Adds an item to the browser history stack. |
||
|
|
| save() | ||
| LzHistory.save(who, prop, val) | ||
|
Saves a value and attribute name callback in the current offset of the history stack. When the browser back button causes the history offset to change, the attribute will get set to the value saved at that offset, e.g. scope.setAttribute('attribute_name_to_set', value). |
||
| Parameters | ||
| Name | Type | Desc |
| who | None | |
| prop | None | |
| val | None | |
|
|
||
Copyright © 2002-2005 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.