Difference between revisions of "SessionStorage"

From Lianjapedia
Jump to: navigation, search
(Created page with "Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. ====Properties==== {| class="wikitable" width="100%" !width=...")
 
Line 8: Line 8:
 
!Value
 
!Value
 
!width="50%"|Description
 
!width="50%"|Description
 +
|-
 +
|valign="top"|length
 +
|valign="top"|R
 +
|valign="top"|Numeric
 +
|Number of key/value pairs in sessionStorage
 
|-
 
|-
 
|}
 
|}

Revision as of 10:54, 6 April 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
length R Numeric Number of key/value pairs in sessionStorage

Methods

Method Args Description
GetItem key as Character Return the value of the property with the specified key
SetItem key as Character, value as Expression Create a property with the specified key and set its value

Events

Event Args Description