Class: StorageKeeper

StorageKeeper()

Interface for storage management classes. Defines the contract for persisting and retrieving application data.

Constructor

new StorageKeeper()

Source:

Methods

clear()

Clear all stored data.
Source:

getHideIntroduction() → {boolean}

Get the hide introduction preference.
Source:
Returns:
True if introduction should be hidden
Type
boolean

getSource() → {string|null}

Get the stored source code.
Source:
Returns:
The source code or null if not set
Type
string | null

setHideIntroduction(hide)

Set the hide introduction preference.
Parameters:
Name Type Description
hide boolean Whether to hide the introduction
Source:

setSource(code)

Store the source code.
Parameters:
Name Type Description
code string The source code to store
Source: