Storage

JS
1.1
abstract class Storage
(source)

Exposes the JavaScript Storage to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Storage to Kotlin

Storage ( )

Properties

JS
1.1

length

open val length : Int

Functions

JS
1.1

clear

fun clear ( )
JS
1.1

getItem

fun getItem ( key : String ) : String ?
JS
1.1

key

fun key ( index : Int ) : String ?
JS
1.1

removeItem

fun removeItem ( key : String )
JS
1.1

setItem

fun setItem ( key : String , value : String )

Extension Functions

JS
1.1

get

operator fun Storage . get ( key : String ) : String ?
JS
1.1

set

operator fun Storage . set ( key : String , value : String )