CDPotion.Domain.DOMStorage (cdpotion v0.1.4)
Summary
Functions
Parameters:
- (Required)
storage_id
: description not provided :(
Disables storage tracking, prevents storage events from being sent to the client.
Enables storage tracking, storage events will now be delivered to the client.
Parameters:
- (Required)
storage_id
: description not provided :(
Parameters:
- (Required)
storage_id
: description not provided :( - (Required)
key
: description not provided :(
Parameters:
- (Required)
storage_id
: description not provided :( - (Required)
key
: description not provided :( - (Required)
value
: description not provided :(
Types
Link to this type
item()
@type item() :: [String.t()]
DOM Storage item.
Link to this type
serialized_storage_key()
@type serialized_storage_key() :: String.t()
description not provided :(
Link to this type
storage_id()
@type storage_id() :: %{ isLocalStorage: boolean(), securityOrigin: String.t() | nil, storageKey: serialized_storage_key() | nil }
DOM Storage identifier.
Functions
Link to this function
clear(storage_id)
@spec clear(storage_id()) :: {String.t(), map()}
Parameters:
- (Required)
storage_id
: description not provided :(
Link to this function
disable()
Disables storage tracking, prevents storage events from being sent to the client.
Link to this function
enable()
Enables storage tracking, storage events will now be delivered to the client.
Link to this function
get_dom_storage_items(storage_id)
@spec get_dom_storage_items(storage_id()) :: {String.t(), map()}
Parameters:
- (Required)
storage_id
: description not provided :(
Link to this function
remove_dom_storage_item(storage_id, key)
@spec remove_dom_storage_item(storage_id(), String.t()) :: {String.t(), map()}
Parameters:
- (Required)
storage_id
: description not provided :( - (Required)
key
: description not provided :(
Link to this function
set_dom_storage_item(storage_id, key, value)
@spec set_dom_storage_item(storage_id(), String.t(), String.t()) :: {String.t(), map()}
Parameters:
- (Required)
storage_id
: description not provided :( - (Required)
key
: description not provided :( - (Required)
value
: description not provided :(