Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
LocalStoragePlugin
Class LocalStoragePlugin
Hierarchy
StoragePlugin
LocalStoragePlugin
Index
Constructors
constructor
Methods
disable
enable
get
Key
load
on
Creation
Export
on
Creation
Import
on
Dispose
on
Export
on
Import
on
Inject
on
Install
read
save
write
Constructors
constructor
new
Local
Storage
Plugin
(
key
:
string
|
function
, debounceDelay
?:
number
)
:
LocalStoragePlugin
Parameters
key:
string
|
function
Default value
debounceDelay:
number
= 3000
Returns
LocalStoragePlugin
Methods
disable
disable
(
)
:
void
Returns
void
enable
enable
(
)
:
void
Returns
void
get
Key
get
Key
(
)
:
string
Returns
string
load
load
(
)
:
void
Returns
void
on
Creation
Export
on
Creation
Export
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
on
Creation
Import
on
Creation
Import
(
)
:
void
Returns
void
on
Dispose
on
Dispose
(
)
:
void
Returns
void
on
Export
on
Export
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
on
Import
on
Import
(
)
:
void
Returns
void
on
Inject
on
Inject
(
)
:
void
Returns
void
on
Install
on
Install
(
editor
:
Editor
)
:
void
Parameters
editor:
Editor
Returns
void
read
read
(
key
:
string
)
:
Promise
<
any
>
Parameters
key:
string
Returns
Promise
<
any
>
save
save
(
)
:
void
Returns
void
write
write
(
key
:
string
, value
:
any
)
:
Promise
<
void
>
Parameters
key:
string
value:
any
Returns
Promise
<
void
>
Globals
Local
Storage
Plugin
constructor
disable
enable
get
Key
load
on
Creation
Export
on
Creation
Import
on
Dispose
on
Export
on
Import
on
Inject
on
Install
read
save
write
Generated using
TypeDoc