Use the chrome.fontSettings API to manage Chrome's font settings.
Use the chrome.fontSettings API to manage Chrome's font settings. * available since Chrome 34 * https://developer.chrome.com/extensions/fontSettings
(clear-default-fixed-font-size)
(clear-default-fixed-font-size details)
Clears the default fixed font size set by this extension, if any.
|details| - This parameter is currently unused.
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/extensions/fontSettings#method-clearDefaultFixedFontSize.
Clears the default fixed font size set by this extension, if any. |details| - This parameter is currently unused. 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/extensions/fontSettings#method-clearDefaultFixedFontSize.
(clear-default-font-size)
(clear-default-font-size details)
Clears the default font size set by this extension, if any.
|details| - This parameter is currently unused.
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/extensions/fontSettings#method-clearDefaultFontSize.
Clears the default font size set by this extension, if any. |details| - This parameter is currently unused. 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/extensions/fontSettings#method-clearDefaultFontSize.
(clear-font details)
Clears the font set by this extension, if any.
|details| - https://developer.chrome.com/extensions/fontSettings#property-clearFont-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/extensions/fontSettings#method-clearFont.
Clears the font set by this extension, if any. |details| - https://developer.chrome.com/extensions/fontSettings#property-clearFont-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/extensions/fontSettings#method-clearFont.
(clear-minimum-font-size)
(clear-minimum-font-size details)
Clears the minimum font size set by this extension, if any.
|details| - This parameter is currently unused.
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/extensions/fontSettings#method-clearMinimumFontSize.
Clears the minimum font size set by this extension, if any. |details| - This parameter is currently unused. 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/extensions/fontSettings#method-clearMinimumFontSize.
(get-default-fixed-font-size)
(get-default-fixed-font-size details)
Gets the default size for fixed width fonts.
|details| - This parameter is currently unused.
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 [details] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details.
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/extensions/fontSettings#method-getDefaultFixedFontSize.
Gets the default size for fixed width fonts. |details| - This parameter is currently unused. 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 [details] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details. 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/extensions/fontSettings#method-getDefaultFixedFontSize.
(get-default-font-size)
(get-default-font-size details)
Gets the default font size.
|details| - This parameter is currently unused.
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 [details] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details.
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/extensions/fontSettings#method-getDefaultFontSize.
Gets the default font size. |details| - This parameter is currently unused. 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 [details] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details. 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/extensions/fontSettings#method-getDefaultFontSize.
(get-font details)
Gets the font for a given script and generic font family.
|details| - https://developer.chrome.com/extensions/fontSettings#property-getFont-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 [details] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details.
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/extensions/fontSettings#method-getFont.
Gets the font for a given script and generic font family. |details| - https://developer.chrome.com/extensions/fontSettings#property-getFont-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 [details] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details. 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/extensions/fontSettings#method-getFont.
(get-font-list)
Gets a list of fonts on the system.
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 [results] where:
|results| - https://developer.chrome.com/extensions/fontSettings#property-callback-results.
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/extensions/fontSettings#method-getFontList.
Gets a list of fonts on the system. 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 [results] where: |results| - https://developer.chrome.com/extensions/fontSettings#property-callback-results. 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/extensions/fontSettings#method-getFontList.
(get-minimum-font-size)
(get-minimum-font-size details)
Gets the minimum font size.
|details| - This parameter is currently unused.
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 [details] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details.
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/extensions/fontSettings#method-getMinimumFontSize.
Gets the minimum font size. |details| - This parameter is currently unused. 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 [details] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-callback-details. 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/extensions/fontSettings#method-getMinimumFontSize.
(on-default-fixed-font-size-changed* config channel & args)
(set-default-fixed-font-size details)
Sets the default size for fixed width fonts.
|details| - https://developer.chrome.com/extensions/fontSettings#property-setDefaultFixedFontSize-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/extensions/fontSettings#method-setDefaultFixedFontSize.
Sets the default size for fixed width fonts. |details| - https://developer.chrome.com/extensions/fontSettings#property-setDefaultFixedFontSize-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/extensions/fontSettings#method-setDefaultFixedFontSize.
(set-default-font-size details)
Sets the default font size.
|details| - https://developer.chrome.com/extensions/fontSettings#property-setDefaultFontSize-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/extensions/fontSettings#method-setDefaultFontSize.
Sets the default font size. |details| - https://developer.chrome.com/extensions/fontSettings#property-setDefaultFontSize-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/extensions/fontSettings#method-setDefaultFontSize.
(set-font details)
Sets the font for a given script and generic font family.
|details| - https://developer.chrome.com/extensions/fontSettings#property-setFont-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/extensions/fontSettings#method-setFont.
Sets the font for a given script and generic font family. |details| - https://developer.chrome.com/extensions/fontSettings#property-setFont-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/extensions/fontSettings#method-setFont.
(set-minimum-font-size details)
Sets the minimum font size.
|details| - https://developer.chrome.com/extensions/fontSettings#property-setMinimumFontSize-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/extensions/fontSettings#method-setMinimumFontSize.
Sets the minimum font size. |details| - https://developer.chrome.com/extensions/fontSettings#property-setMinimumFontSize-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/extensions/fontSettings#method-setMinimumFontSize.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.font-settings namespace.
Taps all valid non-deprecated events in chromex.ext.font-settings namespace.
(tap-on-default-fixed-font-size-changed-events channel & args)
Fired when the default fixed font size setting changes.
Events will be put on the |channel| with signature [::on-default-fixed-font-size-changed [details]] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-onDefaultFixedFontSizeChanged-details.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/extensions/fontSettings#event-onDefaultFixedFontSizeChanged.
Fired when the default fixed font size setting changes. Events will be put on the |channel| with signature [::on-default-fixed-font-size-changed [details]] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-onDefaultFixedFontSizeChanged-details. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/extensions/fontSettings#event-onDefaultFixedFontSizeChanged.
(tap-on-default-font-size-changed-events channel & args)
Fired when the default font size setting changes.
Events will be put on the |channel| with signature [::on-default-font-size-changed [details]] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-onDefaultFontSizeChanged-details.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/extensions/fontSettings#event-onDefaultFontSizeChanged.
Fired when the default font size setting changes. Events will be put on the |channel| with signature [::on-default-font-size-changed [details]] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-onDefaultFontSizeChanged-details. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/extensions/fontSettings#event-onDefaultFontSizeChanged.
(tap-on-font-changed-events channel & args)
Fired when a font setting changes.
Events will be put on the |channel| with signature [::on-font-changed [details]] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-onFontChanged-details.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/extensions/fontSettings#event-onFontChanged.
Fired when a font setting changes. Events will be put on the |channel| with signature [::on-font-changed [details]] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-onFontChanged-details. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/extensions/fontSettings#event-onFontChanged.
(tap-on-minimum-font-size-changed-events channel & args)
Fired when the minimum font size setting changes.
Events will be put on the |channel| with signature [::on-minimum-font-size-changed [details]] where:
|details| - https://developer.chrome.com/extensions/fontSettings#property-onMinimumFontSizeChanged-details.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/extensions/fontSettings#event-onMinimumFontSizeChanged.
Fired when the minimum font size setting changes. Events will be put on the |channel| with signature [::on-minimum-font-size-changed [details]] where: |details| - https://developer.chrome.com/extensions/fontSettings#property-onMinimumFontSizeChanged-details. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/extensions/fontSettings#event-onMinimumFontSizeChanged.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close