projects/aoc-client/ui/form/aoc-ui-autocomplete/aoc-ui-autocomplete.component.ts
OnInit
AfterViewInit
OnDestroy
ControlValueAccessor
encapsulation | ViewEncapsulation.None |
selector | aoc-ui-autocomplete |
standalone | true |
imports |
NgIf
NgClass
NgStyle
AocUiInputGroupComponent
AocUiInputTextDirective
AocUiButtonDirective
AocUiOverlayComponent
NgForOf
AocUiPaginatorComponent
AocUiTooltipDirective
AocUiAutocompleteShouldHighlightOption
AocUiResolveDisplayPipe
AocUiResolveNgClassPipe
AocUiResolveNgStylePipe
|
templateUrl | ./aoc-ui-autocomplete.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
constructor(ngControl: NgControl, aocUiResolveDisplayPipe: AocUiResolveDisplayPipe)
|
|||||||||
Parameters :
|
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
|
onBlur |
Type : EventEmitter<any>
|
onDropdownClick |
Type : EventEmitter<any>
|
onFocus |
Type : EventEmitter<any>
|
onInputEnterKeyPressed |
Type : EventEmitter<KeyboardEvent>
|
onPageChange |
Type : EventEmitter<any>
|
onQuery |
Type : EventEmitter<AocUiAutocompleteQueryEvent>
|
class |
Type : any
|
class.aoc-ui-disabled |
Type : boolean
|
Default value : false
|
registerOnChange | ||||||
registerOnChange(fn: any)
|
||||||
Parameters :
Returns :
void
|
registerOnTouched | ||||||
registerOnTouched(fn: any)
|
||||||
Parameters :
Returns :
void
|
setDisabledState | ||||||
setDisabledState(isDisabled: boolean)
|
||||||
Parameters :
Returns :
void
|
writeValue | ||||||
writeValue(value: any)
|
||||||
Parameters :
Returns :
void
|
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')
|
controlClasses |
getcontrolClasses()
|
options | ||||||
setoptions(newOptions: any[])
|
||||||
Parameters :
Returns :
void
|
noResultsFoundMessageOrDefault |
getnoResultsFoundMessageOrDefault()
|