📄 application.colorselect.js
字号:
/** * ColorSelect component: an input component which displays a hue selector and * an integrated value/saturation selector to enable the selection of a 24-bit * RGB color. May not contain child components. * * @cp {#Color} color the selected color * @sp {Boolean} displayValue flag indicating whether hex color value should be displayed * @sp {#Extent} hueWidth the width of the hue selector * @sp {#Extent} saturationHeight the height of the saturation selector * @sp {#Extent} valueWidth the width of the value selector */Extras.ColorSelect = Core.extend(Echo.Component, { $static: { /** Default value width: 12em. */ DEFAULT_VALUE_WIDTH: "12em", /** Default saturation height: 12em. */ DEFAULT_SATURATION_HEIGHT: "12em", /** Default hue width: 2em. */ DEFAULT_HUE_WIDTH: "2em" }, $load: function() { Echo.ComponentFactory.registerType("Extras.ColorSelect", this); }, /** @see Echo.Component#componentType */ componentType: "Extras.ColorSelect"});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -