Jodit
PRO
Getting Started
Playground
Examples
Documentation
Download
Preparing search index...
The search index is not available
Persistent storage in localStorage
Type Parameters
T =
StorageValueType
Hierarchy
LocalStorageProvider
Implements
IStorage
<
T
>
Index
Methods
clear
delete
exists
get
set
Constructors
constructor
Properties
root
Key
Methods
clear
clear
(
)
:
IStorage
<
T
>
Returns
IStorage
<
T
>
delete
delete
(
key
:
string
)
:
IStorage
<
T
>
Parameters
key:
string
Returns
IStorage
<
T
>
exists
exists
(
key
:
string
)
:
boolean
Parameters
key:
string
Returns
boolean
get
get
<
R
>
(
key
:
string
)
:
void
|
R
Type Parameters
R =
T
Parameters
key:
string
Returns
void
|
R
set
set
(
key
:
string
, value
:
T
)
:
IStorage
<
T
>
Parameters
key:
string
value:
T
Returns
IStorage
<
T
>
Constructors
constructor
new
Local
Storage
Provider
<
T
>
(
rootKey
:
string
)
:
LocalStorageProvider
<
T
>
Type Parameters
T =
StorageValueType
Parameters
rootKey:
string
Returns
LocalStorageProvider
<
T
>
Properties
Readonly
root
Key
root
Key
:
string
Jodit PRO
If you like Jodit - try
Jodit PRO
async
component
config
constants
create
decorators
dom
event-
emitter
global
helpers
icons
index
jodit
modules
plugin
plugins
request
selection
storage
traits
types
ui
view
Local
Storage
Provider
clear
constructor
delete
exists
get
root
Key
set
Persistent storage in localStorage