Class type Goog.​Ui.​css3ButtonRenderer

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

Inherits


method canDecorate : 
'a. (#Dom_html.element as 'a) Js.t -> bool Js.t Js.meth

Returns true if this renderer can decorate the element. Overrides goog.ui.ButtonRenderer#canDecorate by returning true if the element is a DIV, false otherwise. Returns Whether the renderer can decorate the element.

method createDom : (#button as 'b) Js.t -> Dom_html.element Js.t Js.meth

Returns the button's contents wrapped in the following DOM structure: <div class="goog-inline-block goog-css3-button"> Contents... </div> Overrides goog.ui.ButtonRenderer#createDom. Returns Root element for the button.

method decorate : 
'c.
'b Js.t ->
(#Dom_html.element as 'c) Js.t -> Dom_html.element Js.t Js.meth
method getContentElement : 
'd. (#Dom_html.element as 'd) Js.t -> Dom_html.element Js.t Js.meth
method getCssClass : Js.js_string Js.t Js.meth

Returns the CSS class to be applied to the root element of components rendered using this renderer. Returns Renderer-specific CSS class.