 ;; See: https://html.spec.whatwg.org/multipage/forms.html#do-not-apply
 (def these-inputs-have-selection-api #{"text" "textarea" "password" "search" "tel" "url"})
 
-(defn has-selection-api?
+(defn ^boolean has-selection-api?
   [input-type]
   (contains? these-inputs-have-selection-api input-type))
 

        (.! :onChange #(input-handle-change this on-change %))))
    (.! this :cljsInputValue nil)))

(defn input-component? [x]
  (or (identical? x "input")
      (identical? x "textarea")))


                         :charset "charSet"})

(defn obj-get [o k]
  (when (true? (.hasOwnProperty o k))
    (aget o k)))

(defn cached-prop-name [k]
