search

goog.ui.CustomColorPalette

Provided By
Extends
All Implemented Interfaces

A custom color palette is a grid of color swatches and a button that allows the user to add additional colors to the palette

new CustomColorPalette( initColors, opt_renderer, opt_domHelper )

Parameters
initColors(Array<string>|null)

Array of initial colors to populate the palette with.

opt_renderer(goog.ui.PaletteRenderer|null)=

Renderer used to render or decorate the palette; defaults to goog.ui.PaletteRenderer.

opt_domHelper(goog.dom.DomHelper|null)=

Optional DOM helper, used for document interaction.

Instance Methods

Instance Properties