joliclic

home

kh-colorbutton

« Index [ Examples | Attributes | Properties ]

A button with a color attribute/property. If the color value is empty, the button is disabled. If the color is not empty, a tooltiptext contains its value.

Attributes
color
Properties
color

Examples

example screenshot
<kh-colorbutton color="#f00"/>

live examples:


Attributes

color

type: string

The initial color value. If empty, the element is disabled, otherwise a tooltip text contains its value.

Any valid CSS 3 color can be used.

To change its value later, use the color property.

Properties

color

type: string

Get and set the color attribute.

Khromaxul - version: 0.3alpha - 2009-07-30