Liking cljdoc? Tell your friends :D

alandipert.storage-atom


*storage-delay*cljs

source

*watch-active*cljs

source

clear-html-storage!cljs

(clear-html-storage! storage)

Clear storage and also trigger an event on the current window so its atoms will be cleared as well.

Clear storage and also trigger an event on the current window
so its atoms will be cleared as well.
sourceraw docstring

clear-local-storage!cljs

(clear-local-storage!)
source

clear-session-storage!cljs

(clear-session-storage!)
source

clj->jsoncljs

(clj->json x)
source

debounce-factorycljs

(debounce-factory)

Return a function that will always store a future call into the same atom. If recalled before the time is elapsed, the call is replaced without being executed.

Return a function that will always store a future call into the
same atom. If recalled before the time is elapsed, the call is
replaced without being executed.
sourceraw docstring

dispatch-remove-event!cljs

(dispatch-remove-event! storage key)

Create and dispatch a synthetic StorageEvent. Expects key to be a string. An empty key indicates that all storage is being cleared.

Create and dispatch a synthetic StorageEvent. Expects key to be a string.
An empty key indicates that all storage is being cleared.
sourceraw docstring

html-storagecljs

(html-storage atom storage k)
source

IStorageBackendcljsprotocol

Represents a storage resource.

Represents a storage resource.

-getcljs

(-get this not-found)

-commit!cljs

(-commit! this value)

Commit value to storage at location.

Commit value to storage at location.
sourceraw docstring

json->cljcljs

(json->clj x)
source

(link-storage atom storage k)
source

load-html-storagecljs

(load-html-storage storage k)
source

load-local-storagecljs

(load-local-storage k)
source

load-session-storagecljs

(load-session-storage k)
source

local-storagecljs

(local-storage atom k)
source

maybe-update-backendcljs

(maybe-update-backend atom storage k default e)
source

remove-html-storage!cljs

(remove-html-storage! storage k)

Remove key from storage and also trigger an event on the current window so its atoms will be cleared as well.

Remove key from storage and also trigger an event on the current
window so its atoms will be cleared as well.
sourceraw docstring

remove-local-storage!cljs

(remove-local-storage! k)
source

remove-session-storage!cljs

(remove-session-storage! k)
source

session-storagecljs

(session-storage atom k)
source

storage-delaycljs

Delay in ms before a change is committed to the local storage. If a new change occurs before the time is elapsed, the old change is discarded an only the new one is committed.

Delay in ms before a change is committed to the local storage. If a
new change occurs before the time is elapsed, the old change is
discarded an only the new one is committed.
sourceraw docstring

StorageBackendcljs

source

storecljs

(store atom backend)
source

transit-read-handlerscljs

source

transit-write-handlerscljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close