Liking cljdoc? Tell your friends :D

chromex.app.language-settings-private

clj

Use the chrome.languageSettingsPrivate API to get or change language and input method settings.

  • available since Chrome master
Use the chrome.languageSettingsPrivate API to get or change
language and input method settings.

  * available since Chrome master
raw docstring

add-input-methodclj/smacro

(add-input-method input-method-id)

Adds the input method to the current user's list of enabled input methods, enabling the input method for the current user. Chrome OS only.

|input-method-id| - ?

Adds the input method to the current user's list of enabled input methods, enabling the input method for the current user.
Chrome OS only.

  |input-method-id| - ?
sourceraw docstring

add-input-method*cljs

(add-input-method* config input-method-id)
source

add-spellcheck-wordclj/smacro

(add-spellcheck-word word)

Adds a word to the custom dictionary.

|word| - ?

Adds a word to the custom dictionary.

|word| - ?
sourceraw docstring

add-spellcheck-word*cljs

(add-spellcheck-word* config word)
source

api-tableclj

source

disable-languageclj/smacro

(disable-language language-code)

Disables a language, removing it from the Accept-Language list.

|language-code| - ?

Disables a language, removing it from the Accept-Language list.

|language-code| - ?
sourceraw docstring

disable-language*cljs

(disable-language* config language-code)
source

enable-languageclj/smacro

(enable-language language-code)

Enables a language, adding it to the Accept-Language list (used to decide which languages to translate, generate the Accept-Language header, etc.).

|language-code| - ?

Enables a language, adding it to the Accept-Language list (used to decide which languages to translate, generate the
Accept-Language header, etc.).

  |language-code| - ?
sourceraw docstring

enable-language*cljs

(enable-language* config language-code)
source

gen-callclj

source

gen-wrapclj/smacro

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

get-input-method-listsclj/smacro

(get-input-method-lists)

Gets all supported input methods, including third-party IMEs. Chrome OS only.

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 [lists] where:

|lists| - ?

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 all supported input methods, including third-party IMEs. Chrome OS only.

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 [lists] where:

  |lists| - ?

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

get-input-method-lists*cljs

(get-input-method-lists* config)
source

get-language-listclj/smacro

(get-language-list)

Gets languages available for translate, spell checking, input and locale.

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 [languages] where:

|languages| - ?

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 languages available for translate, spell checking, input and locale.

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 [languages] where:

  |languages| - ?

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

get-language-list*cljs

(get-language-list* config)
source

get-spellcheck-dictionary-statusesclj/smacro

(get-spellcheck-dictionary-statuses)

Gets the current status of the chosen spell check dictionaries.

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 [status] where:

|status| - ?

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 the current status of the chosen spell check dictionaries.

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 [status] where:

  |status| - ?

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

get-spellcheck-dictionary-statuses*cljs

(get-spellcheck-dictionary-statuses* config)
source

get-spellcheck-wordsclj/smacro

(get-spellcheck-words)

Gets the custom spell check words, in sorted order.

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 [words] where:

|words| - ?

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 the custom spell check words, in sorted order.

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 [words] where:

  |words| - ?

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

get-spellcheck-words*cljs

(get-spellcheck-words* config)
source

get-translate-target-languageclj/smacro

(get-translate-target-language)

Gets the translate target language (in most cases, the display locale).

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 [language-code] where:

|language-code| - ?

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 the translate target language (in most cases, the display locale).

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 [language-code] where:

  |language-code| - ?

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

get-translate-target-language*cljs

(get-translate-target-language* config)
source

move-languageclj/smacro

(move-language language-code move-type)

Moves a language inside the language list.

|language-code| - ? |move-type| - ?

Moves a language inside the language list.

|language-code| - ?
|move-type| - ?
sourceraw docstring

move-language*cljs

(move-language* config language-code move-type)
source

on-custom-dictionary-changed*cljs

(on-custom-dictionary-changed* config channel & args)
source

on-input-method-added*cljs

(on-input-method-added* config channel & args)
source

on-input-method-removed*cljs

(on-input-method-removed* config channel & args)
source

on-spellcheck-dictionaries-changed*cljs

(on-spellcheck-dictionaries-changed* config channel & args)
source

remove-input-methodclj/smacro

(remove-input-method input-method-id)

Removes the input method from the current user's list of enabled input methods, disabling the input method for the current user. Chrome OS only.

|input-method-id| - ?

Removes the input method from the current user's list of enabled input methods, disabling the input method for the current
user. Chrome OS only.

  |input-method-id| - ?
sourceraw docstring

remove-input-method*cljs

(remove-input-method* config input-method-id)
source

remove-spellcheck-wordclj/smacro

(remove-spellcheck-word word)

Removes a word from the custom dictionary.

|word| - ?

Removes a word from the custom dictionary.

|word| - ?
sourceraw docstring

remove-spellcheck-word*cljs

(remove-spellcheck-word* config word)
source

retry-download-dictionaryclj/smacro

(retry-download-dictionary language-code)

Tries to download the dictionary after a failed download.

|language-code| - ?

Tries to download the dictionary after a failed download.

|language-code| - ?
sourceraw docstring

retry-download-dictionary*cljs

(retry-download-dictionary* config language-code)
source

set-enable-translation-for-languageclj/smacro

(set-enable-translation-for-language language-code enable)

Enables or disables translation for a given language.

|language-code| - ? |enable| - ?

Enables or disables translation for a given language.

|language-code| - ?
|enable| - ?
sourceraw docstring

set-enable-translation-for-language*cljs

(set-enable-translation-for-language* config language-code enable)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.app.language-settings-private namespace.

Taps all valid non-deprecated events in chromex.app.language-settings-private namespace.
sourceraw docstring

tap-on-custom-dictionary-changed-eventsclj/smacro

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

Called when words are added to and/or removed from the custom spell check dictionary.

Events will be put on the |channel| with signature [::on-custom-dictionary-changed [words-added words-removed]] where:

|words-added| - ? |words-removed| - ?

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

Called when words are added to and/or removed from the custom spell check dictionary.

Events will be put on the |channel| with signature [::on-custom-dictionary-changed [words-added words-removed]] where:

  |words-added| - ?
  |words-removed| - ?

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

tap-on-input-method-added-eventsclj/smacro

(tap-on-input-method-added-events channel & args)

Called when an input method is added.

Events will be put on the |channel| with signature [::on-input-method-added [input-method-id]] where:

|input-method-id| - ?

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

Called when an input method is added.

Events will be put on the |channel| with signature [::on-input-method-added [input-method-id]] where:

  |input-method-id| - ?

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

tap-on-input-method-removed-eventsclj/smacro

(tap-on-input-method-removed-events channel & args)

Called when an input method is removed.

Events will be put on the |channel| with signature [::on-input-method-removed [input-method-id]] where:

|input-method-id| - ?

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

Called when an input method is removed.

Events will be put on the |channel| with signature [::on-input-method-removed [input-method-id]] where:

  |input-method-id| - ?

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

tap-on-spellcheck-dictionaries-changed-eventsclj/smacro

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

Called when the pref for the dictionaries used for spell checking changes or the status of one of the spell check dictionaries changes.

Events will be put on the |channel| with signature [::on-spellcheck-dictionaries-changed [statuses]] where:

|statuses| - ?

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

Called when the pref for the dictionaries used for spell checking changes or the status of one of the spell check
dictionaries changes.

Events will be put on the |channel| with signature [::on-spellcheck-dictionaries-changed [statuses]] where:

  |statuses| - ?

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

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

× close