Class type Goog.​Ui.​menuSeparatorRenderer

class type [#control]menuSeparatorRenderer = object..end

Inherits


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

Returns an empty, styled menu separator DIV. Overrides goog.ui.ControlRenderer#createDom. Returns Root element for the separator.

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

Takes an existing element, and decorates it with the separator. Overrides goog.ui.ControlRenderer#decorate. Returns Decorated element.

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.

method setContent : 
'c.
(#Dom_html.element as 'c) Js.t -> controlContent -> unit Js.meth

Overrides goog.ui.ControlRenderer#setContent to do nothing, since separators are empty.