LocalStorage

From Lianjapedia
Jump to: navigation, search

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

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
RemoveItem key as Character Removes the specified key
Contains key as Character Return true if the specified key exists
Clear Removes all keys