Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • V

Hierarchy

Implements

Index

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Select

Properties

attrs

children

children: Content[]

error

error: Error<V, SelectAttrs<V>, GenericFeedbackControl<V, SelectAttrs<V>>> = error(this)(_root(this))

getValidationState

getValidationState: GetValidationState = getValidationState(_root(this))

neutral

neutral: Neutral<V, SelectAttrs<V>, GenericFeedbackControl<V, SelectAttrs<V>>> = neutral(this)(_root(this))

setMessage

setMessage: SetMessage<V, SelectAttrs<V>, GenericFeedbackControl<V, SelectAttrs<V>>> = setMessage(this)(_messages(this))

success

success: Success<V, SelectAttrs<V>, GenericFeedbackControl<V, SelectAttrs<V>>> = success(this)(_root(this))

view

view: View = new views.Main(this)

warning

warning: Warning<V, SelectAttrs<V>, GenericFeedbackControl<V, SelectAttrs<V>>> = warning(this)(_root(this))

Methods

close

handleEvent

  • handleEvent(e: Event): void

open

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

update

  • update(results: V[]): Select<V>

Object literals

values

values: object

class

class: object

input

input: string = ""

root

root: string = ""

id

id: object

input

input: string = "input"

menu

menu: string = "menu"

message

message: string = "mesage"

root

root: string = "root"

item

item: object

stringify

stringify: function = (this.attrs.ww && this.attrs.ww.stringifier) ?this.attrs.ww.stringifier : (v: V) => String(v)

Type declaration

    • (v: V): string
    • Parameters

      • v: V

      Returns string

click

  • click(index: number | string): void

itemContentTemplate

noItemsTemplate

label

label: object

id

id: string = this.attrs.ww.name

text

text: string = this.attrs.ww.label || ''

menu

menu: object

hide

hide: boolean = true

id

id: string = "menu"

options

options: V[] = <V[]>(this.attrs.ww && this.attrs.ww.options) || []

messages

messages: object

error

error: string = this.attrs.ww.error

id

id: string = "message"

success

success: string = this.attrs.ww.success

warning

warning: string = this.attrs.ww.warning

root

root: object

class

class: string = concat(SELECT, this.attrs.ww.class)

id

id: string = "root"

search

search: object

class

class: string = this.attrs.ww.inputClass

id

id: string = "search"

name

name: string = this.attrs.ww.name

onSearch

onSearch: function = (this.attrs.ww && this.attrs.ww.onSearch) ?this.attrs.ww.onSearch : () => { }

Type declaration

placeholder

placeholder: string = this.attrs.ww.placeholder ?this.attrs.ww.placeholder : null

readOnly

readOnly: boolean = this.attrs.ww && this.attrs.ww.readOnly

onEscape

onFocus

  • onFocus(): void

Generated using TypeDoc