Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SelectAttrs<V>

Type parameters

  • V

Hierarchy

Index

Properties

Optional class

class: string

class is typically applied to the root level DOM of a widget's view.

Use it to define custom rules for styling specific widget instances.

Optional disabled

disabled: boolean

disabled indicates the control should not be interactable.

Optional error

error: string

error allows the control to be intialized in the invalid state with a message.

Optional inputClass

inputClass: string

inputClass is the class list for the input.

Optional itemContentTemplate

itemContentTemplate: ItemContentTemplate<V>

itemContentTemplate if specified will be used to render each result item.

Optional label

label: string

label for the control.

Optional name

name: string

name of the control.

Used by controls to tag events with names.

Optional noItemsTemplate

noItemsTemplate: NoItemsTemplate<V>

noItemsTemplate for rendering the lack of search results.

Optional onChange

onChange: function

onChange handler.

Type declaration

Optional onSearch

onSearch: function

onSearch handler.

Type declaration

Optional options

options: V[]

options to initialize the dropdown list with. These options are displayed by default when the input gains focused.

Optional placeholder

placeholder: string

placeholder text for the input.

Optional readOnly

readOnly: boolean

readOnly

Optional stringifier

stringifier: function

stringifier turns the value to a string.

Type declaration

    • (v: V): string
    • Parameters

      • v: V

      Returns string

Optional success

success: string

success allows the control to be intialized in the valid state with a message.

Optional value

value: V

value of the control.

Used to intialize controls and may also be the value of an Event.

Optional warning

warning: string

warning allows the control to be intilalized in the warn state with a message.

Generated using TypeDoc