Abstract
Static
isStatic
pathReturns the current local storage path if not browser
Sets the local storage path if not browser
Static
clearStatic
domainStatic
getStatic
hasStatic
idStatic
includesStatic
offRemoves a listener previously attached with LocalStorage.on(key, fn).
value: the current value for key in local storage, parsed from the persisted JSON old: the old value for key in local storage, parsed from the persisted JSON url: the url for the tab where the modification came from
Static
onListen for changes persisted against key on other tabs. Triggers StorageCallback when a change occurs, passing the following arguments.
value: the current value for key in local storage, parsed from the persisted JSON old: the old value for key in local storage, parsed from the persisted JSON url: the url for the tab where the modification came from
Static
onceListen ONCE for changes persisted against key on other tabs Triggers StorageCallback when a change occurs, passing the following arguments.
value: the current value for key in local storage, parsed from the persisted JSON old: the old value for key in local storage, parsed from the persisted JSON url: the url for the tab where the modification came from
Static
removeStatic
set
Returns if the module is using a browser's localStorage