static void |
WebStorage.clear(com.vaadin.flow.component.UI ui,
WebStorage.Storage storage) |
Clears the given storage.
|
static void |
WebStorage.clear(WebStorage.Storage storage) |
Clears the given storage.
|
static void |
WebStorage.getItem(com.vaadin.flow.component.UI ui,
WebStorage.Storage storage,
String key,
WebStorage.Callback callback) |
Asynchronously gets an item from the given storage
|
static void |
WebStorage.getItem(WebStorage.Storage storage,
String key,
WebStorage.Callback callback) |
Asynchronously gets an item from the given storage
|
static void |
WebStorage.removeItem(com.vaadin.flow.component.UI ui,
WebStorage.Storage storage,
String key) |
Removes the value associated by the given key from the Storage.localStorage
|
static void |
WebStorage.removeItem(WebStorage.Storage storage,
String key) |
Removes the value associated by the given key from the Storage.localStorage
|
static void |
WebStorage.setItem(com.vaadin.flow.component.UI ui,
WebStorage.Storage storage,
String key,
String value) |
Sets given key-value pair to give storage type
|
static void |
WebStorage.setItem(WebStorage.Storage storage,
String key,
String value) |
Sets given key-value pair to give storage type
|