Search results

RibbonColorPicker API in JavaScript Ribbon API control

Defines the items of Ribbon.

Methods

getValue

Gets color value in specified type.

Parameter Type Description
controlId string -Gets the control ID.
value (optional) string Specify the color value.
type (optional) string Specify the type to which the specified color needs to be converted.

Returns string

toggle

To show/hide ColorPicker popup based on current state of the SplitButton.

Parameter Type Description
controlId string set the id of the control.

Returns void

updateColorPicker

Updates the colorpicker properties.

Parameter Type Description
prop RibbonColorPickerSettingsModel Gets the colorpicker property.
id string Gets the ID of colorpicker.

Returns void