ColorPanel API Reference

Properties

animation string advanced
applyValueMode string instantly
columnCount number 8
dataSource array? null
disabled boolean false
disableUndo boolean false
displayMode string default
editAlphaChannel boolean false
enableCustomColors boolean false
hideAlphaEditor boolean false
hideContentToFit array RGB,HEX,alpha,previewContainer
hideHEXEditor boolean false
hidePreviewContainer boolean false
hideRGBEditor boolean false
inverted boolean false
locale string en
localizeFormatFunction function null
messages object {"en":{"propertyUnknownType":"'{{name}}' property is with undefined 'type' member!","propertyInvalidValue":"Invalid '{{name}}' property value! Actual value: '{{actualValue}}', Expected value: '{{value}}'!","propertyInvalidValueType":"Invalid '{{name}}' property value type! Actual type: '{{actualType}}', Expected type: '{{type}}'!","methodInvalidValueType":"Invalid '{{name}}' method argument value type! Actual type: '{{actualType}}', Expected type: '{{type}}' for argument with index: '{{argumentIndex}}'!","methodInvalidArgumentsCount":"Invalid '{{name}}' method arguments count! Actual arguments count: '{{actualArgumentsCount}}', Expected at least: '{{argumentsCount}}' argument(s)!","methodInvalidReturnType":"Invalid '{{name}}' method return type! Actual type: '{{actualType}}', Expected type: '{{type}}'!","elementNotInDOM":"Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.","moduleUndefined":"Module is undefined.","missingReference":"{{elementType}}: Missing reference to '{{files}}'.","htmlTemplateNotSuported":"{{elementType}}: Web Browser doesn't support HTMLTemplate elements.","invalidTemplate":"{{elementType}}: '{{property}}' property accepts a string that must match the id of an HTMLTemplate element from the DOM.","invalidNode":"{{elementType}}: Invalid parameter \"{{node}}\" when calling {{method}}.","redPrefix":"R:","greenPrefix":"G:","bluePrefix":"B:","hexPrefix":"#:","alphaPrefix":"Alpha:","ok":"OK","cancel":"CANCEL","customColor":"CUSTOM COLOR ..."}}
name string
palette string default
readonly boolean false
theme string
tooltipDisplayMode string hex
value string null
valueMember string null
unfocusable boolean false

Events

valueChanged Event
cancelButtonClick Event
okButtonClick Event

Methods