* available since Chrome 31
(get-keyboard-config)
Gets the virtual keyboard configuration.
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| - ?
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 virtual keyboard configuration. 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| - ? 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.
(hide-keyboard)
Hides the virtual keyboard.
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.
Hides the virtual keyboard. 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.
(insert-text text)
Inserts text into the currently focused text field.
|text| - The text that will be inserted.
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.
Inserts text into the currently focused text field. |text| - The text that will be inserted. 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.
(keyboard-loaded)
Inform the system that the keyboard has loaded.
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.
Inform the system that the keyboard has loaded. 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.
(lock-keyboard lock)
Sets the lock state of the virtual keyboard. A locked keyboard remains visible even after a text area loses input focus.
|lock| - ?
Sets the lock state of the virtual keyboard. A locked keyboard remains visible even after a text area loses input focus. |lock| - ?
(open-settings)
Opens chrome://settings/languages page.
Opens chrome://settings/languages page.
(send-key-event key-event)
Sends a fabricated key event to the focused input field.
|key-event| - ?
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.
Sends a fabricated key event to the focused input field. |key-event| - ? 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.
(set-container-behavior options)
Sets the virtual keyboard container behavior
|options| - Optional parameters for new container behavior.
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 virtual keyboard container behavior |options| - Optional parameters for new container behavior. 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.
(set-draggable-area bounds)
Sets the virtual keyboard draggable area bounds.
|bounds| - The value of draggable rect area of floating keyboard.
Sets the virtual keyboard draggable area bounds. |bounds| - The value of draggable rect area of floating keyboard.
(set-hotrod-keyboard enable)
Sets the state of the hotrod virtual keyboard. This API should only be used by hotrod.
|enable| - ?
Sets the state of the hotrod virtual keyboard. This API should only be used by hotrod. |enable| - ?
(set-keyboard-state state)
Requests the virtual keyboard to change state.
|state| - The value of the virtual keyboard state to change to.
Requests the virtual keyboard to change state. |state| - The value of the virtual keyboard state to change to.
(set-occluded-bounds bounds-list)
Sets the areas on the screen that are blocked by the virtual keyboard.
|bounds-list| - List of rectangles representing regions occluded by the keyboard.
Sets the areas on the screen that are blocked by the virtual keyboard. |bounds-list| - List of rectangles representing regions occluded by the keyboard.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.virtual-keyboard-private namespace.
Taps all valid non-deprecated events in chromex.app.virtual-keyboard-private namespace.
(tap-on-bounds-changed-events channel & args)
This event is sent when virtual keyboard bounds changed and overscroll/resize is enabled.
Events will be put on the |channel| with signature [::on-bounds-changed [bounds]] where:
|bounds| - The virtual keyboard bounds
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
This event is sent when virtual keyboard bounds changed and overscroll/resize is enabled. Events will be put on the |channel| with signature [::on-bounds-changed [bounds]] where: |bounds| - The virtual keyboard bounds Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-keyboard-closed-events channel & args)
Fired when the virtual keyboard window has been closed. For example, this can happen when turning off on-screen keyboard or exiting tablet mode.
Events will be put on the |channel| with signature [::on-keyboard-closed []].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the virtual keyboard window has been closed. For example, this can happen when turning off on-screen keyboard or exiting tablet mode. Events will be put on the |channel| with signature [::on-keyboard-closed []]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-keyboard-config-changed-events channel & args)
Fired when a configuration for virtual keyboard IME has changed, e.g. auto complete disabled.
Events will be put on the |channel| with signature [::on-keyboard-config-changed [config]] where:
|config| - The virtual keyboard config
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when a configuration for virtual keyboard IME has changed, e.g. auto complete disabled. Events will be put on the |channel| with signature [::on-keyboard-config-changed [config]] where: |config| - The virtual keyboard config Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close