Class type Goog.​Events.​keyHandler

class type keyHandler = object..end

Inherits


method attach : 
'a 'b.
((#Dom_html.element as 'a) Js.t, (#Dom_html.document as 'b) Js.t)
Goog.Tools.Union.t -> unit Js.meth

Adds the proper key event listeners to the element.

method detach : unit Js.meth

Removes the listeners that may exist.

method disposeInternal : unit Js.meth

Disposes of the key handler.

method getElement : 
'c 'd.
((#Dom_html.element as 'c) Js.t, (#Dom_html.document as 'd) Js.t)
Goog.Tools.Union.t Js.opt Js.meth

Returns the element listened on for the real keyboard events. Returns The element listened on for the real keyboard events.

method handleEvent : browserEvent Js.t Js.meth