Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ArSelect

Implements

  • UxComponent

Index

Constructors

constructor

  • new ArSelect(element: HTMLElement, styleEngine: StyleEngine, eventAggregator: EventAggregator): ArSelect

Properties

addExtraValueButtonText

addExtraValueButtonText: string = 'Add Custom Value'

allowAny

allowAny: boolean = false

compareValues

compareValues: Function = ...

Private dialog

dialog: ArDialog

Private dialogElement

dialogElement: HTMLElement

disabled

disabled: boolean = false

displaySearch

displaySearch: "auto" | "hidden" | "always" = 'auto'

Private extraValues

extraValues: string[] = ...

Private filter

filter: string = ''

Private focused

focused: boolean = false

Private handleResize

handleResize: EventListener

Private log

log: Logger

Private mapContainer

mapContainer: HTMLElement

Private mapHeight

mapHeight: number = 300

multiple

multiple: boolean = false

Private options

options: ArOption[] = ...

Private originalValue

originalValue: any

placeholder

placeholder: string = 'Click to select a value'

searchTrigger

searchTrigger: number = 10

Private selectorContainer

selectorContainer: HTMLElement

styleEngine

styleEngine: StyleEngine

theme

value

value: any

wrap

wrap: boolean = true

zIndex

zIndex: number = 10

Accessors

selectedOption

selectedOptions

Methods

addExtraValue

  • addExtraValue(): void

attached

  • attached(): void

autoScrollToFirstSelectedOption

  • autoScrollToFirstSelectedOption(): void

autoScrollToNewExtraValue

  • autoScrollToNewExtraValue(): void

bind

  • bind(): void

cancel

  • cancel(): void

checkAppropriateOptions

  • checkAppropriateOptions(): void

closeSelector

  • closeSelector(): void

detached

  • detached(): void

detectExtraValues

  • detectExtraValues(): void

focus

  • focus(): void

moveToBodyTag

  • moveToBodyTag(): void

optionsChanged

  • optionsChanged(): void

removeExtraValue

  • removeExtraValue(extraValue: string): void

removeFromBodyTag

  • removeFromBodyTag(): void

save

  • save(): void

scrollToTop

  • scrollToTop(): void

setZIndex

  • setZIndex(): void

stopPropagation

  • stopPropagation(event: any): void

themeChanged

  • themeChanged(newValue: any): void

toggleOption

  • toggleOption(option: any, event: any): void

valueChanged

  • valueChanged(): void

Generated using TypeDoc