Liking cljdoc? Tell your friends :D

chromex.ext.input-method-private

clj
  • available since Chrome 27
  * available since Chrome 27
raw docstring

add-word-to-dictionaryclj/smacro

(add-word-to-dictionary word)

Adds a single word to be stored in the dictionary.

|word| - A new word to add to the dictionary.

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.

Adds a single word to be stored in the dictionary.

  |word| - A new word to add to the dictionary.

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

add-word-to-dictionary*cljs

(add-word-to-dictionary* config word)
source

api-tableclj

source

fetch-all-dictionary-wordsclj/smacro

(fetch-all-dictionary-words)

Fetches a list of all the words currently in the dictionary.

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| - List of dictionary 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.

Fetches a list of all the words currently in the dictionary.

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| - List of dictionary 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

fetch-all-dictionary-words*cljs

(fetch-all-dictionary-words* config)
source

gen-callclj

source

gen-wrapclj/smacro

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

get-composition-boundsclj/smacro

(get-composition-bounds)

Gets the composition bounds

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

|bounds-list| - List of bounds information.

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 composition bounds

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

  |bounds-list| - List of bounds information.

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-composition-bounds*cljs

(get-composition-bounds* config)
source

get-current-input-methodclj/smacro

(get-current-input-method)

Gets the current input method.

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 [input-method-id] where:

|input-method-id| - Current input method.

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 input method.

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 [input-method-id] where:

  |input-method-id| - Current input method.

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-current-input-method*cljs

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

get-encrypt-sync-enabledclj/smacro

(get-encrypt-sync-enabled)

Gets whether the encrypt sync is enabled.

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

|enabled| - The result of whether enabled.

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 whether the encrypt sync is enabled.

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

  |enabled| - The result of whether enabled.

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-encrypt-sync-enabled*cljs

(get-encrypt-sync-enabled* config)
source

get-input-method-configclj/smacro

(get-input-method-config)

Gets configurations for input methods.

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

|config| - The input method config object.

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 configurations for input methods.

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

  |config| - The input method config object.

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-config*cljs

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

get-input-methodsclj/smacro

(get-input-methods)

Gets all whitelisted input methods.

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

|input-methods| - Whitelisted input method objects.

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 whitelisted input methods.

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

  |input-methods| - Whitelisted input method objects.

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-methods*cljs

(get-input-methods* config)
source

get-surrounding-textclj/smacro

(get-surrounding-text before-length after-length)

Gets the surrounding text of the current selection

|before-length| - The number of characters before the current selection. |after-length| - The number of characters after the current selection.

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

|surrounding-info| - The surrouding text info.

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 surrounding text of the current selection

  |before-length| - The number of characters before the current selection.
  |after-length| - The number of characters after the current selection.

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

  |surrounding-info| - The surrouding text info.

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-surrounding-text*cljs

(get-surrounding-text* config before-length after-length)
source

notify-ime-menu-item-activatedclj/smacro

(notify-ime-menu-item-activated engine-id name)

Fires the input.ime.onMenuItemActivated event.

|engine-id| - ID of the engine to use. |name| - Name of the MenuItem which was activated

Fires the input.ime.onMenuItemActivated event.

|engine-id| - ID of the engine to use.
|name| - Name of the MenuItem which was activated
sourceraw docstring

notify-ime-menu-item-activated*cljs

(notify-ime-menu-item-activated* config engine-id name)
source

on-changed*cljs

(on-changed* config channel & args)
source

on-composition-bounds-changed*cljs

(on-composition-bounds-changed* config channel & args)
source

on-dictionary-changed*cljs

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

on-dictionary-loaded*cljs

(on-dictionary-loaded* config channel & args)
source

on-focus*cljs

(on-focus* config channel & args)
source

on-ime-menu-activation-changed*cljs

(on-ime-menu-activation-changed* config channel & args)
source

on-ime-menu-items-changed*cljs

(on-ime-menu-items-changed* config channel & args)
source

on-ime-menu-list-changed*cljs

(on-ime-menu-list-changed* config channel & args)
source

open-options-pageclj/smacro

(open-options-page input-method-id)

Opens the options page for the input method extension. If the input method does not have options, this function will do nothing.

|input-method-id| - ID of the input method to open options for.

Opens the options page for the input method extension. If the input method does not have options, this function will do
nothing.

  |input-method-id| - ID of the input method to open options for.
sourceraw docstring

open-options-page*cljs

(open-options-page* config input-method-id)
source

set-current-input-methodclj/smacro

(set-current-input-method input-method-id)

Sets the current input method.

|input-method-id| - The input method ID to be set as current input method.

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.

Sets the current input method.

  |input-method-id| - The input method ID to be set as current input method.

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

set-current-input-method*cljs

(set-current-input-method* config input-method-id)
source

set-xkb-layoutclj/smacro

(set-xkb-layout xkb-name)

Sets the XKB layout for the given input method.

|xkb-name| - The XKB layout name.

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.

Sets the XKB layout for the given input method.

  |xkb-name| - The XKB layout name.

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

set-xkb-layout*cljs

(set-xkb-layout* config xkb-name)
source

show-input-viewclj/smacro

(show-input-view)

Shows the input view window. If the input view window is already shown, this function will do nothing.

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.

Shows the input view window. If the input view window is already shown, this function will do nothing.

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

show-input-view*cljs

(show-input-view* config)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.input-method-private namespace.

Taps all valid non-deprecated events in chromex.ext.input-method-private namespace.
sourceraw docstring

tap-on-changed-eventsclj/smacro

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

Fired when the input method is changed.

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

|new-input-method-id| - New input method which is being used.

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

Fired when the input method is changed.

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

  |new-input-method-id| - New input method which is being used.

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

tap-on-composition-bounds-changed-eventsclj/smacro

(tap-on-composition-bounds-changed-events channel & args)

Fired when the composition bounds or cursor bounds are changed.

Events will be put on the |channel| with signature [::on-composition-bounds-changed [first-bounds bounds-list]] where:

|first-bounds| - The bounds information for the first character in composition. |bounds-list| - List of bounds information.

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

Fired when the composition bounds or cursor bounds are changed.

Events will be put on the |channel| with signature [::on-composition-bounds-changed [first-bounds bounds-list]] where:

  |first-bounds| - The bounds information for the first character in composition.
  |bounds-list| - List of bounds information.

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

tap-on-dictionary-changed-eventsclj/smacro

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

Fired when words are added or removed from the custom spelling dictionary.

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

|added| - List of added words. |removed| - List of removed words.

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

Fired when words are added or removed from the custom spelling dictionary.

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

  |added| - List of added words.
  |removed| - List of removed words.

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

tap-on-dictionary-loaded-eventsclj/smacro

(tap-on-dictionary-loaded-events channel & args)

Fired when the custom spelling dictionary is loaded.

Events will be put on the |channel| with signature [::on-dictionary-loaded []].

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

Fired when the custom spelling dictionary is loaded.

Events will be put on the |channel| with signature [::on-dictionary-loaded []].

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

tap-on-focus-eventsclj/smacro

(tap-on-focus-events channel & args)

This event is sent when focus enters a text box. It is sent to all extensions that are listening to this event, and enabled by the user.

Events will be put on the |channel| with signature [::on-focus [context]] where:

|context| - Describes the text field that has acquired focus.

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

This event is sent when focus enters a text box. It is sent to all extensions that are listening to this event, and enabled
by the user.

Events will be put on the |channel| with signature [::on-focus [context]] where:

  |context| - Describes the text field that has acquired focus.

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

tap-on-ime-menu-activation-changed-eventsclj/smacro

(tap-on-ime-menu-activation-changed-events channel & args)

Fired when the IME menu is activated or deactivated.

Events will be put on the |channel| with signature [::on-ime-menu-activation-changed [activation]] where:

|activation| - Whether the IME menu is currently active.

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

Fired when the IME menu is activated or deactivated.

Events will be put on the |channel| with signature [::on-ime-menu-activation-changed [activation]] where:

  |activation| - Whether the IME menu is currently active.

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

tap-on-ime-menu-items-changed-eventsclj/smacro

(tap-on-ime-menu-items-changed-events channel & args)

Fired when the input.ime.setMenuItems or input.ime.updateMenuItems API is called.

Events will be put on the |channel| with signature [::on-ime-menu-items-changed [engine-id items]] where:

|engine-id| - ID of the engine to use |items| - MenuItems to add or update.

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

Fired when the input.ime.setMenuItems or input.ime.updateMenuItems API is called.

Events will be put on the |channel| with signature [::on-ime-menu-items-changed [engine-id items]] where:

  |engine-id| - ID of the engine to use
  |items| - MenuItems to add or update.

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

tap-on-ime-menu-list-changed-eventsclj/smacro

(tap-on-ime-menu-list-changed-events channel & args)

Fired when the input method or the list of active input method IDs is changed.

Events will be put on the |channel| with signature [::on-ime-menu-list-changed []].

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

Fired when the input method or the list of active input method IDs is changed.

Events will be put on the |channel| with signature [::on-ime-menu-list-changed []].

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