(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.
(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.
(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.
Represents a storage resource.
Represents a storage resource.
(-get this not-found)
(-commit! this value)
Commit value to storage at location.
Commit value to storage at location.
(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.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close