Hemi JavaScript Framework

Hemi.storage.iestore

Description

A DOM Storage facade for Internet Explore 6 and 7, using the Hemi Configuration class and the Internet Explorer User Data behavior.

static Hemi.storage.iestore

version 3.1.9

A conditional wrapper exposed based on browser support. This is not the preferred provider and is included to support IE 6 and 7.

Index

Method Index

Methods

clear

Empties the storage of all saved key/value pairs.

Syntax

void clear( )

getItem

Returns the stored value corresponding to the specified key.

Syntax

v = getItem( n )

Parameters

Returns

v as String: Stored value.

getLength

Returns the number of keys currently stored.

Syntax

l = getLength( )

Returns

l as int: Number of keys.

key

Returns the key at the specified index.

Syntax

s = key( i )

Parameters

Returns

s as String: The key name.

removeItem

Removes the specified item from storage.

Syntax

void removeItem( n )

Parameters

setItem

Stores the supplied value at the specified key.

Syntax

b = setItem( n, v )

Parameters

Returns

b as bit: Bit indicating whether the value was stored.