Add primitive api for using html5 local storage.
Lib fixes.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package html5.localstorage
|
||||
|
||||
import js.native
|
||||
|
||||
native
|
||||
val localStorage : LocalStorageClass = js.noImpl
|
||||
native
|
||||
class LocalStorageClass() {
|
||||
fun getItem(key : String) : Any? = js.noImpl
|
||||
fun setItem(key : String, value : Any?) : Unit = js.noImpl
|
||||
}
|
||||
Reference in New Issue
Block a user