Difference between revisions of "SessionStorage"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 12: | Line 12: | ||
|valign="top"|R | |valign="top"|R | ||
|valign="top"|Character | |valign="top"|Character | ||
− | | | + | |The name of the delegate procedure (procedure or .prg) for the session data changed event |
|- | |- | ||
|valign="top"|dataChangedInterval | |valign="top"|dataChangedInterval | ||
|valign="top"|R | |valign="top"|R | ||
|valign="top"|Numeric | |valign="top"|Numeric | ||
− | |The interval in msecs that checks for session data changes will be made at runtime | + | |The interval in msecs that checks for session data changes will be made at runtime |
|- | |- | ||
|valign="top"|length | |valign="top"|length |
Revision as of 04:57, 6 May 2016
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
Property | Access (R/RW) | Value | Description |
---|---|---|---|
dataChanged | R | Character | The name of the delegate procedure (procedure or .prg) for the session data changed event |
dataChangedInterval | R | Numeric | The interval in msecs that checks for session data changes will be made at runtime |
length | R | Numeric | Number of key/value pairs in sessionStorage |
Methods
Method | Args | Description |
---|---|---|
clear | None | Clear sessionStorage of all key/value pairs |
getItem | key as Character | Return the value of the item with the specified key |
removeItem | key as Character | Remove the item with the specified key |
setItem | key as Character, value as Expression | Create an item with the specified key and set its value |
Events
Event | Args | Description |
---|