Difference between revisions of "LocalStorage"
From Lianjapedia
Barrymavin (Talk | contribs) |
Barrymavin (Talk | contribs) |
||
Line 24: | Line 24: | ||
|valign="top"|key as Character | |valign="top"|key as Character | ||
|valign="top"|Return true if the specified key exists | |valign="top"|Return true if the specified key exists | ||
+ | |- | ||
+ | |valign="top"|Clear | ||
+ | |valign="top"| | ||
+ | |valign="top"|Removes all keys | ||
+ | |||
|- | |- | ||
|} | |} |
Latest revision as of 09:05, 21 March 2022
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 |