Liking cljdoc? Tell your friends :D

chromex.app.storage

clj

Use the chrome.storage API to store, retrieve, and track changes to user data.

Use the chrome.storage API to store, retrieve, and track changes to user data.

* available since Chrome 27
* https://developer.chrome.com/apps/storage
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-localclj/smacro

(get-local)

Items in the local storage area are local to each machine.

https://developer.chrome.com/apps/storage#property-local.

Items in the local storage area are local to each machine.

https://developer.chrome.com/apps/storage#property-local.
sourceraw docstring

get-managedclj/smacro

(get-managed)

Items in the managed storage area are set by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error.

https://developer.chrome.com/apps/storage#property-managed.

Items in the managed storage area are set by the domain administrator, and are read-only for the extension; trying to
modify this namespace results in an error.

https://developer.chrome.com/apps/storage#property-managed.
sourceraw docstring

get-syncclj/smacro

(get-sync)

Items in the sync storage area are synced using Chrome Sync.

https://developer.chrome.com/apps/storage#property-sync.

Items in the sync storage area are synced using Chrome Sync.

https://developer.chrome.com/apps/storage#property-sync.
sourceraw docstring

local*cljs

(local* config)
source

managed*cljs

(managed* config)
source

on-changed*cljs

(on-changed* config channel & args)
source

sync*cljs

(sync* config)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.app.storage namespace.

Taps all valid non-deprecated events in chromex.app.storage namespace.
sourceraw docstring

tap-on-changed-eventsclj/smacro

(tap-on-changed-events channel & args)

Fired when one or more items change.

Events will be put on the |channel| with signature [::on-changed [changes area-name]] where:

|changes| - Object mapping each key that changed to its corresponding 'storage.StorageChange' for that item. |area-name| - The name of the storage area ('sync', 'local' or 'managed') the changes are for.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/apps/storage#event-onChanged.

Fired when one or more items change.

Events will be put on the |channel| with signature [::on-changed [changes area-name]] where:

  |changes| - Object mapping each key that changed to its corresponding 'storage.StorageChange' for that item.
  |area-name| - The name of the storage area ('sync', 'local' or 'managed') the changes are for.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/apps/storage#event-onChanged.
sourceraw docstring

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

× close