File

projects/aoc-client/ui/form/aoc-ui-autocomplete/aoc-ui-autocomplete.component.ts

Implements

OnInit AfterViewInit OnDestroy ControlValueAccessor

Metadata

Index

Properties
Methods
Inputs
Outputs
HostBindings
Accessors

Constructor

constructor(ngControl: NgControl, aocUiResolveDisplayPipe: AocUiResolveDisplayPipe)
Parameters :
Name Type Optional
ngControl NgControl No
aocUiResolveDisplayPipe AocUiResolveDisplayPipe No

Inputs

autofocus
Type : boolean
Default value : false
dataKey
Type : string
Default value : 'id'
delay
Type : number
Default value : 300
display
Type : AocUiDisplay
inputId
Type : string
minLength
Type : number
Default value : 0
mode
Type : "query" | "all"
Default value : 'query'
multiple
Type : boolean
Default value : false
name
Type : string
noResultsFoundMessage
Type : string
optionNgClass
Type : AocUiNgClass
optionNgStyle
Type : AocUiNgStyle
options
Type : any[]
optionsPerPage
Type : number
Default value : 10
overlayMaxHeight
Type : string
Default value : '200px'
placeholder
Type : string
readonly
Type : boolean
Default value : false
tabindex
Type : number
totalOptions
Type : number
Default value : 0

Outputs

onBlur
Type : EventEmitter<any>
onDropdownClick
Type : EventEmitter<any>
onFocus
Type : EventEmitter<any>
onInputEnterKeyPressed
Type : EventEmitter<KeyboardEvent>
onPageChange
Type : EventEmitter<any>
onQuery
Type : EventEmitter<AocUiAutocompleteQueryEvent>

HostBindings

class
Type : any
class.aoc-ui-disabled
Type : boolean
Default value : false

Methods

registerOnChange
registerOnChange(fn: any)
Parameters :
Name Type Optional
fn any No
Returns : void
registerOnTouched
registerOnTouched(fn: any)
Parameters :
Name Type Optional
fn any No
Returns : void
setDisabledState
setDisabledState(isDisabled: boolean)
Parameters :
Name Type Optional
isDisabled boolean No
Returns : void
writeValue
writeValue(value: any)
Parameters :
Name Type Optional
value any No
Returns : void

Properties

accessibleInput
Type : ElementRef
Decorators :
@ViewChild('accessibleInput')
aocUiPaginator
Type : AocUiPaginatorComponent
Decorators :
@ViewChild(AocUiPaginatorComponent)
container
Type : ElementRef
Decorators :
@ViewChild('container')
disabled
Default value : false
Decorators :
@HostBinding('class.aoc-ui-disabled')
onChange
Type : function
Default value : () => {...}
onTouched
Type : function
Default value : () => {...}
overlay
Type : ElementRef
Decorators :
@ViewChild('overlay')

Accessors

controlClasses
getcontrolClasses()
options
setoptions(newOptions: any[])
Parameters :
Name Type Optional
newOptions any[] No
Returns : void
noResultsFoundMessageOrDefault
getnoResultsFoundMessageOrDefault()

results matching ""

    No results matching ""