Liking cljdoc? Tell your friends :D

chromex.ext.font-settings

clj

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 36
* https://developer.chrome.com/extensions/fontSettings
raw docstring

api-tableclj

source

clear-default-fixed-font-sizeclj/smacro

(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.
sourceraw docstring

clear-default-fixed-font-size*cljs

(clear-default-fixed-font-size* config details)
source

clear-default-font-sizeclj/smacro

(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.
sourceraw docstring

clear-default-font-size*cljs

(clear-default-font-size* config details)
source

clear-fontclj/smacro

(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.
sourceraw docstring

clear-font*cljs

(clear-font* config details)
source

clear-minimum-font-sizeclj/smacro

(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.
sourceraw docstring

clear-minimum-font-size*cljs

(clear-minimum-font-size* config details)
source

gen-callclj

source

gen-wrapclj/smacro

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

get-default-fixed-font-sizeclj/smacro

(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.
sourceraw docstring

get-default-fixed-font-size*cljs

(get-default-fixed-font-size* config details)
source

get-default-font-sizeclj/smacro

(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.
sourceraw docstring

get-default-font-size*cljs

(get-default-font-size* config details)
source

get-fontclj/smacro

(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.
sourceraw docstring

get-font*cljs

(get-font* config details)
source

get-font-listclj/smacro

(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.
sourceraw docstring

get-font-list*cljs

(get-font-list* config)
source

get-minimum-font-sizeclj/smacro

(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.
sourceraw docstring

get-minimum-font-size*cljs

(get-minimum-font-size* config details)
source

on-default-fixed-font-size-changed*cljs

(on-default-fixed-font-size-changed* config channel & args)
source

on-default-font-size-changed*cljs

(on-default-font-size-changed* config channel & args)
source

on-font-changed*cljs

(on-font-changed* config channel & args)
source

on-minimum-font-size-changed*cljs

(on-minimum-font-size-changed* config channel & args)
source

set-default-fixed-font-sizeclj/smacro

(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.
sourceraw docstring

set-default-fixed-font-size*cljs

(set-default-fixed-font-size* config details)
source

set-default-font-sizeclj/smacro

(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.
sourceraw docstring

set-default-font-size*cljs

(set-default-font-size* config details)
source

set-fontclj/smacro

(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.
sourceraw docstring

set-font*cljs

(set-font* config details)
source

set-minimum-font-sizeclj/smacro

(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.
sourceraw docstring

set-minimum-font-size*cljs

(set-minimum-font-size* config details)
source

tap-all-eventsclj/smacro

(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.
sourceraw docstring

tap-on-default-fixed-font-size-changed-eventsclj/smacro

(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.
sourceraw docstring

tap-on-default-font-size-changed-eventsclj/smacro

(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.
sourceraw docstring

tap-on-font-changed-eventsclj/smacro

(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.
sourceraw docstring

tap-on-minimum-font-size-changed-eventsclj/smacro

(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.
sourceraw docstring

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

× close