Liking cljdoc? Tell your friends :D

chromex.ext.omnibox

clj

The omnibox API allows you to register a keyword with Google Chrome's address bar, which is also known as the omnibox.

The omnibox API allows you to register a keyword with Google Chrome's address bar, which is also known as the omnibox.

* available since Chrome 36
* https://developer.chrome.com/extensions/omnibox
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

on-delete-suggestion*cljs

(on-delete-suggestion* config channel & args)
source

on-input-cancelled*cljs

(on-input-cancelled* config channel & args)
source

on-input-changed*cljs

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

on-input-entered*cljs

(on-input-entered* config channel & args)
source

on-input-started*cljs

(on-input-started* config channel & args)
source

set-default-suggestionclj/smacro

(set-default-suggestion suggestion)

Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.

|suggestion| - A partial SuggestResult object, without the 'content' parameter.

https://developer.chrome.com/extensions/omnibox#method-setDefaultSuggestion.

Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the
first suggestion row underneath the URL bar.

  |suggestion| - A partial SuggestResult object, without the 'content' parameter.

https://developer.chrome.com/extensions/omnibox#method-setDefaultSuggestion.
sourceraw docstring

set-default-suggestion*cljs

(set-default-suggestion* config suggestion)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.omnibox namespace.

Taps all valid non-deprecated events in chromex.ext.omnibox namespace.
sourceraw docstring

tap-on-delete-suggestion-eventsclj/smacro

(tap-on-delete-suggestion-events channel & args)

User has deleted a suggested result.

Events will be put on the |channel| with signature [::on-delete-suggestion [text]] where:

|text| - Text of the deleted suggestion.

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

https://developer.chrome.com/extensions/omnibox#event-onDeleteSuggestion.

User has deleted a suggested result.

Events will be put on the |channel| with signature [::on-delete-suggestion [text]] where:

  |text| - Text of the deleted suggestion.

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

https://developer.chrome.com/extensions/omnibox#event-onDeleteSuggestion.
sourceraw docstring

tap-on-input-cancelled-eventsclj/smacro

(tap-on-input-cancelled-events channel & args)

User has ended the keyword input session without accepting the input.

Events will be put on the |channel| with signature [::on-input-cancelled []].

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

https://developer.chrome.com/extensions/omnibox#event-onInputCancelled.

User has ended the keyword input session without accepting the input.

Events will be put on the |channel| with signature [::on-input-cancelled []].

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

https://developer.chrome.com/extensions/omnibox#event-onInputCancelled.
sourceraw docstring

tap-on-input-changed-eventsclj/smacro

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

User has changed what is typed into the omnibox.

Events will be put on the |channel| with signature [::on-input-changed [text suggest]] where:

|text| - https://developer.chrome.com/extensions/omnibox#property-onInputChanged-text.

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

https://developer.chrome.com/extensions/omnibox#event-onInputChanged.

User has changed what is typed into the omnibox.

Events will be put on the |channel| with signature [::on-input-changed [text suggest]] where:

  |text| - https://developer.chrome.com/extensions/omnibox#property-onInputChanged-text.

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

https://developer.chrome.com/extensions/omnibox#event-onInputChanged.
sourceraw docstring

tap-on-input-entered-eventsclj/smacro

(tap-on-input-entered-events channel & args)

User has accepted what is typed into the omnibox.

Events will be put on the |channel| with signature [::on-input-entered [text disposition]] where:

|text| - https://developer.chrome.com/extensions/omnibox#property-onInputEntered-text. |disposition| - https://developer.chrome.com/extensions/omnibox#property-onInputEntered-disposition.

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

https://developer.chrome.com/extensions/omnibox#event-onInputEntered.

User has accepted what is typed into the omnibox.

Events will be put on the |channel| with signature [::on-input-entered [text disposition]] where:

  |text| - https://developer.chrome.com/extensions/omnibox#property-onInputEntered-text.
  |disposition| - https://developer.chrome.com/extensions/omnibox#property-onInputEntered-disposition.

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

https://developer.chrome.com/extensions/omnibox#event-onInputEntered.
sourceraw docstring

tap-on-input-started-eventsclj/smacro

(tap-on-input-started-events channel & args)

User has started a keyword input session by typing the extension's keyword. This is guaranteed to be sent exactly once per input session, and before any onInputChanged events.

Events will be put on the |channel| with signature [::on-input-started []].

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

https://developer.chrome.com/extensions/omnibox#event-onInputStarted.

User has started a keyword input session by typing the extension's keyword. This is guaranteed to be sent exactly once per
input session, and before any onInputChanged events.

Events will be put on the |channel| with signature [::on-input-started []].

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

https://developer.chrome.com/extensions/omnibox#event-onInputStarted.
sourceraw docstring

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

× close