Clear Up
SharpKit Reference

ColorConfig Class

Namespace: Ext.picker


Name Description


Name Description
allowReselect If set to true then reselecting a color that is already selected fires the select event Defaults to: false
clickEvent The DOM event that will cause a color to be selected. This can be any valid event name (dblclick, contextmenu). Defaults to: "click"
handler A function that will handle the select event of this picker. The handler is passed the following parameters:
  • picker : ColorPicker

    The picker.

  • color : String

    The 6-digit color hex code (without the # symbol).

  • scope The scope (this reference) in which the handler function will be called. Defaults to this Color picker instance.
    selectedCls The CSS class to apply to the selected element Defaults to: "x-color-picker-selected"
    value The initial color to highlight (should be a valid 6-digit color hex code without the # symbol). Note that the hex codes are case-sensitive. Defaults to: null
    © Copyright 2005-2011 SharpKit. All rights reserved.