/
omnibox.cljs
25 lines (16 loc) · 1.02 KB
/
omnibox.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(ns chromex.ext.omnibox (:require-macros [chromex.ext.omnibox :refer [gen-wrap]])
(:require [chromex.core]))
; -- functions --------------------------------------------------------------------------------------------------------------
(defn set-default-suggestion* [config suggestion]
(gen-wrap :function ::set-default-suggestion config suggestion))
; -- events -----------------------------------------------------------------------------------------------------------------
(defn on-input-started* [config channel & args]
(gen-wrap :event ::on-input-started config channel args))
(defn on-input-changed* [config channel & args]
(gen-wrap :event ::on-input-changed config channel args))
(defn on-input-entered* [config channel & args]
(gen-wrap :event ::on-input-entered config channel args))
(defn on-input-cancelled* [config channel & args]
(gen-wrap :event ::on-input-cancelled config channel args))
(defn on-delete-suggestion* [config channel & args]
(gen-wrap :event ::on-delete-suggestion config channel args))