setItem

Sets a value for local storage key.

Syntax

ui.Interface.frontCall("localStorage", "setItem",
   [key,value], [])
  • key is the name of the local storage key.
  • value is the value to set for the named key.

Usage

The setItem function sets the specified local storage key with the value passed as parameter.