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

ChipListProps

Interface

Represents the properties of ChipList component.

Definition

Package:@progress/kendo-vue-buttons

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.

avatar?

string | Object | Function

If set to object of type ChipAvatarProps with image and imageAlt it renders a default Avatar. If set to string or a render function it defines the avatar template that will be shown.

Represents the 'avatar' field in the Chip, defaults to 'avatar'.

Represents Chip component.

Sets additional classes to the ChipList.

Represents the item data, coming from the ChipList component.

Represents the data about the child Chips.

Represents the default data about the child Chips.

Represents the default value of the selection state of Chip component.

dir?

string

The ChipList direction 'ltr' as default or 'rtl'.

disabled?

boolean

Determines of ChipList is disabled.

fillMode?

"solid" | "outline" | "flat"

Configures the fillMode of the Chip.

The available options are:

  • solid
  • outline
  • flat
Default:

undefined

icon?

string

Determines if the Chip has an icon.

id?

string

Sets the id property of the top div element of the ChipList.

name?

string

Specifies the name property of the input DOM element.

onBlur?

(event: ChipFocusEvent) => void

Triggered on onBlur event.

Parameters:eventChipFocusEvent

Triggered after value change.

Parameters:eventChipListChangeEvent

onClick?

(event: ChipMouseEvent) => void

Triggered on onClick event.

Parameters:eventChipMouseEvent

Triggered after Chip data change.

Parameters:eventChipListDataChangeEvent

onFocus?

(event: ChipFocusEvent) => void

Triggered on onFocus event.

Parameters:eventChipFocusEvent

Triggered on onKeyDown event.

Parameters:eventChipKeyboardEvent

onRemove?

(event: ChipRemoveEvent) => void

Triggered on Chip removing.

Parameters:eventChipRemoveEvent

removable?

boolean

Determines if the Chip could be removed.

Determines if the Chip has custom removeIcon.

Defines an remove SVGIcon to be rendered within the chip.

required?

boolean

Specifies if null is a valid value for the component.

rounded?

"small" | "medium" | "large" | "none" | "full"

Configures the roundness of the Chip.

The available options are:

  • none
  • small
  • medium
  • large
  • full
Default:

undefined

selected?

boolean

Determines if the Chip is selected.

Determines if the Chip has custom selection icon.

Defines an selection SVGIcon to be rendered within the chip.

Represents the selection state of Chip component.

size?

"small" | "medium" | "large"

Configures the size of the Chip.

The available options are:

  • small
  • medium
  • large
Default:

undefined

svgIcon?

SVGIcon

Defines an SVGIcon to be rendered within the chip.

tabIndex?

number

Sets the tabIndex attribute.

text?

string

Sets the label text of the Chip.

Represents the text field of Chip, defaults to 'text'.

themeColor?

"base" | "info" | "success" | "warning" | "error"

Configures the themeColor of the Chip.

The available options are:

  • base
  • info
  • success
  • warning
  • error
Default:

undefined

valid?

boolean

Overrides the validity state of the component. If valid is set, the required property will be ignored.

Controls the form error message of the component. If set to an empty string, no error will be thrown.

If set to false, no visual representation of the invalid state of the component will be applied.

Represents the selection state of Chip component.

Represents the value field of the Chip, defaults to 'value'.