Class type Goog.​Ui.​buttonRenderer

class type [#button]buttonRenderer = object..end

Inherits


method getAriaRole : Goog.Gdom.A11y.role_pre Js.optdef Js.meth

Returns the ARIA role to be applied to buttons. Returns ARIA role.

method getCssClass : Js.js_string Js.t Js.meth
method getTooltip : 
'a. (#Dom_html.element as 'a) Js.t -> Js.js_string Js.t Js.optdef Js.meth

Takes a button's root element, and returns its tooltip text. Returns The tooltip text.

method getValue : 
'b. (#Dom_html.element as 'b) Js.t -> Js.js_string Js.t Js.opt Js.meth

Takes a button's root element, and returns the value associated with it. No-op in the base class. Returns The button's value (undefined if none).