search

goog.ui.CharPicker

Provided By
Extends
All Implemented Interfaces

Character Picker Class. This widget can be used to pick any Unicode character by traversing a category-subcategory structure or by inputing its hex value.

See charpicker.html demo for example usage.

new CharPicker( charPickerData, charNameFetcher, opt_recents, opt_initCategory, opt_initSubcategory, opt_rowCount, opt_columnCount, opt_domHelper )

Parameters
charPickerData(goog.i18n.CharPickerData|null)

Category names and charlist.

charNameFetchergoog.i18n.uChar.NameFetcher

Object which fetches the names of the characters that are shown in the widget. These names may be stored locally or come from an external source.

opt_recents(Array<string>|null)=

List of characters to be displayed in resently selected characters area.

opt_initCategorynumber=

Sequence number of initial category.

opt_initSubcategorynumber=

Sequence number of initial subcategory.

opt_rowCountnumber=

Number of rows in the grid.

opt_columnCountnumber=

Number of columns in the grid.

opt_domHelper(goog.dom.DomHelper|null)=

Optional DOM helper.

Instance Methods

Instance Properties