vue-select
  • Introduction
  • Installation
  • Usage
  • Props
  • Slots
  • Events
  • Components
  • Layout & Theming
  • VSelectOption
  • Changelog
Powered by GitBook
On this page

Was this helpful?

Components

PreviousEventsNextLayout & Theming

Last updated 5 years ago

Was this helpful?

These are useful when defining app specific standard of the vSelect component. For a single use case scenarios should be the easier and better approach.

Usually slots should be enough to customize the look and feel of the vue-select component but in some advanced scenarios one may need greater control over the behavior of internals. In such cases one may replace any of the internal components through mixins. Seen an example in section.

All the components may access the vSelect instance and all its data via this.$parentor inject: ['select']. Here is a list of the available components:

Component

Props

Description

Option

option, index, state, select

Displays an option in the dropdown

Selected

option, index, state, select

Displays selected value. Used both in single and multiple mode.

Layout

Defines the overall structure of the select component. Check

Slots
Layout & Theming
Layout & Theming