New to Kendo UI for VueStart a free 30-day trial

Represents the props of the Kendo UI for Vue ColorGradient component.

Definition

Package:@progress/kendo-vue-inputs

Properties

Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.

Identifies the element(s) which will label the component.

Enables the color contrast tool. Sets the background color that will be compared to the selected value. The tool will calculate the contrast ratio between two colors. Currently, only the RGBA format is supported.

class?

string

Sets additional CSS classes to the ColorGradient.

The default value of the ColorGradient.

disabled?

boolean

Determines whether the ColorGradient is disabled (more information and example).

id?

string

Specifies the id of the component.

Sets tabindex of the inner components of the ColorGradient.

The model rgba value of the ColorGradient.

The model value of the ColorGradient.

Determines the event handler that will be fired when the user edits the value.

Parameters:eventColorGradientChangeEvent

onFocus?

(event: any) => void

Represents the focus event.

Parameters:eventany

opacity?

boolean

Determines whether the alpha slider and the alpha input will be displayed. Defaults to true.

size?

"small" | "medium" | "large"

Configures the size of the ColorGradient.

The available options are:

  • small
  • medium
  • large
Default:

undefined

tabIndex?

number

Sets the tabIndex property of the ColorGradient.

value?

string

The value of the ColorGradient.