Class type Goog.​Ui.​abstractSpellChecker

class type abstractSpellChecker = object..end

Inherits


method check : unit Js.meth

Checks spelling for all text. Should be overridden by implementation.

method disposeInternal : unit Js.meth
method getHandler : 
(< addEventListener : Js.js_string Js.t ->
(unit -> bool Js.t) Js.callback ->
bool Js.t Js.opt -> unit Js.meth;
canDecorate : 'c. (#Dom_html.element as 'c) Js.t -> bool Js.t Js.meth;
check : unit Js.meth; createDom : unit Js.meth;
decorate : 'd. (#Dom_html.element as 'd) Js.t -> unit Js.meth;
dispatchEvent : (Js.js_string Js.t, Goog.Events.event Js.t)
Goog.Tools.Union.t -> bool Js.t Js.meth;
dispose : unit Js.meth; disposeInternal : unit Js.meth;
enterDocument : unit Js.meth; exitDocument : unit Js.meth;
getChild : Js.js_string Js.t -> component Js.t Js.opt Js.meth;
getChildAt : int -> component Js.t Js.opt Js.meth;
getChildCount : int Js.meth;
getChildIds : Js.js_string Js.t Js.js_array Js.t Js.meth;
getContentElement : Dom_html.element Js.t Js.meth;
getDisposed : bool Js.t Js.meth;
getDomHelper : Goog.Gdom.domHelper Js.t Js.meth;
getElement : Dom_html.element Js.t Js.meth;
getElementByFragment : Js.js_string Js.t ->
Dom_html.element Js.t Js.meth;
getFragmentFromId : Js.js_string Js.t -> Js.js_string Js.t Js.meth;
getHandler : 'a; getId : Js.js_string Js.t Js.meth;
getParent : component Js.t Js.opt Js.meth;
getParentEventTarget : Goog.Events.eventTarget Js.t Js.meth;
hasChildren : bool Js.t Js.meth;
ignoreWord : Js.js_string Js.t -> unit Js.meth;
indexOfChild : component Js.t Js.opt -> int Js.meth;
isDisposed : bool Js.t Js.meth; isInDocument : bool Js.t Js.meth;
isRightToLeft : bool Js.t Js.meth; isVisible : bool Js.t Js.meth;
makeId : Js.js_string Js.t -> Js.js_string Js.t Js.meth;
markCorrected : bool Js.t Js.prop;
removeChildAt : int ->
bool Js.t Js.opt -> component Js.t Js.meth;
removeChildren : bool Js.t Js.opt -> unit Js.meth;
removeEventListener : Js.js_string Js.t ->
(unit -> bool Js.t) Js.callback ->
bool Js.t Js.opt -> unit Js.meth;
render : 'e. (#Dom_html.element as 'e) Js.t Js.opt -> unit Js.meth;
renderBefore : 'f. (#Dom_html.element as 'f) Js.t -> unit Js.meth;
replaceWord : 'g.
(#Dom_html.element as 'g) Js.t ->
Js.js_string Js.t -> Js.js_string Js.t -> unit Js.meth;
resume : unit Js.meth;
setExcludeMarker : (Js.regExp Js.t, Js.js_string Js.t)
Goog.Tools.Union.t Js.opt -> unit Js.meth;
setHandler : 'b Js.t Goog.Spell.spellCheck Js.t -> unit Js.meth;
setId : Js.js_string Js.t -> unit Js.meth;
setParent : component Js.t -> unit Js.meth;
setParentEventTarget : Goog.Events.eventTarget Js.t Js.opt ->
unit Js.meth;
setRightToLeft : bool Js.t -> unit Js.meth;
showSuggestionsMenu : 'h.
(#Dom_html.element as 'h) Js.t ->
(Goog.Events.browserEvent Js.t,
Goog.Math.coordinate Js.t)
Goog.Tools.Union.t Js.opt -> unit Js.meth;
wasDecorated : bool Js.t Js.meth; .. >
as 'b)
Js.t Goog.Spell.spellCheck Js.t Js.meth as 'a

Returns The handler used for caching and lookups.

method ignoreWord : Js.js_string Js.t -> unit Js.meth

Ignores spelling of word.

method isVisible : bool Js.t Js.meth

Returns Whether the correction ui is visible.

method replaceWord : 
'g.
(#Dom_html.element as 'g) Js.t ->
Js.js_string Js.t -> Js.js_string Js.t -> unit Js.meth

Replaces word.

method resume : unit Js.meth

Hides correction . Should be overridden by implementation.

method setExcludeMarker : 
(Js.regExp Js.t, Js.js_string Js.t) Goog.Tools.Union.t Js.opt ->
unit Js.meth

Sets the marker for the excluded text.

method setHandler : 'b Js.t Goog.Spell.spellCheck Js.t -> unit Js.meth

Sets the handler used for caching and lookups.

method showSuggestionsMenu : 
'h.
(#Dom_html.element as 'h) Js.t ->
(Goog.Events.browserEvent Js.t, Goog.Math.coordinate Js.t)
Goog.Tools.Union.t Js.opt -> unit Js.meth

Displays suggestions menu.

method markCorrected : bool Js.t Js.prop