Manages an app's system indicator icon, an image displayed in the system's menubar, system tray, or other visible area provided by the OS. This is modelled after the other extension action APIs, such as chrome.browserAction and chrome.pageAction.
Manages an app's system indicator icon, an image displayed in the system's menubar, system tray, or other visible area provided by the OS. This is modelled after the other extension action APIs, such as chrome.browserAction and chrome.pageAction. * available since Chrome 87 * https://developer.chrome.com/apps/systemIndicator
(disable)
Hide the icon from the status tray.
https://developer.chrome.com/apps/systemIndicator#method-disable.
Hide the icon from the status tray. https://developer.chrome.com/apps/systemIndicator#method-disable.
(enable)
Show the icon in the status tray.
https://developer.chrome.com/apps/systemIndicator#method-enable.
Show the icon in the status tray. https://developer.chrome.com/apps/systemIndicator#method-enable.
(set-icon details)
Set the image to be used as an indicator icon, using a set of ImageData objects. These objects should have multiple resolutions so that an appropriate size can be selected for the given icon size and DPI scaling settings. Only square ImageData objects are accepted.
|details| - https://developer.chrome.com/apps/systemIndicator#property-setIcon-details.
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.
https://developer.chrome.com/apps/systemIndicator#method-setIcon.
Set the image to be used as an indicator icon, using a set of ImageData objects. These objects should have multiple resolutions so that an appropriate size can be selected for the given icon size and DPI scaling settings. Only square ImageData objects are accepted. |details| - https://developer.chrome.com/apps/systemIndicator#property-setIcon-details. 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. https://developer.chrome.com/apps/systemIndicator#method-setIcon.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.system-indicator namespace.
Taps all valid non-deprecated events in chromex.app.system-indicator namespace.
(tap-on-clicked-events channel & args)
Fired only when a click on the icon does not result in a menu being shown.
Events will be put on the |channel| with signature [::on-clicked []].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/apps/systemIndicator#event-onClicked.
Fired only when a click on the icon does not result in a menu being shown. Events will be put on the |channel| with signature [::on-clicked []]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/apps/systemIndicator#event-onClicked.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close