webstoreWidgetPrivate API. This is a private API used by the Chrome Webstore widget app on Chrome OS.
webstoreWidgetPrivate API. This is a private API used by the Chrome Webstore widget app on Chrome OS. * available since Chrome 44
(get-strings)
Gets localized strings and initialization data.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [result] where:
|result| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Gets localized strings and initialization data. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [result] where: |result| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(install-webstore-item item-id silent-installation)
Requests to install a webstore item. |item_id| The id of the item to install. |silentInstallation| False to show installation prompt. True not to show. Can be set to true only for a subset of installation requests.
|item-id| - ? |silent-installation| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Requests to install a webstore item. |item_id| The id of the item to install. |silentInstallation| False to show installation prompt. True not to show. Can be set to true only for a subset of installation requests. |item-id| - ? |silent-installation| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.webstore-widget-private namespace.
Taps all valid non-deprecated events in chromex.app.webstore-widget-private namespace.
(tap-on-show-widget-events channel & args)
Event dispatched when a Chrome Webstore widget is requested to be shown.
Events will be put on the |channel| with signature [::on-show-widget [options]] where:
|options| - Options describing the set of apps that should be shown in the widget.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Event dispatched when a Chrome Webstore widget is requested to be shown. Events will be put on the |channel| with signature [::on-show-widget [options]] where: |options| - Options describing the set of apps that should be shown in the widget. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close