PP.App.getStorage

Syntax

getStorage(key: String, local: Boolean);

Parameters

key. Parameter key in the browser storage.

local. It indicates whether data is stored in the browser local storage. If the parameter is set to True, the data is stored in the local storage and is saved after browser tab closes, otherwise this data is available only for one tab until it is closed.

Description

The getStorage method returns parameter by its key in the browser storage.

Comments

The method returns a value of the String type.

Example

The method use is given in the example for PP.App.setStorage.

See also:

PP.App