UNPKG

1.02 kBTypeScriptView Raw
1import { AfterViewChecked, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2import { Subject } from 'rxjs';
3import * as i0 from "@angular/core";
4export declare class NgOptionComponent implements OnChanges, AfterViewChecked, OnDestroy {
5 elementRef: ElementRef<HTMLElement>;
6 value: any;
7 disabled: boolean;
8 readonly stateChange$: Subject<{
9 value: any;
10 disabled: boolean;
11 label?: string;
12 }>;
13 private _previousLabel;
14 constructor(elementRef: ElementRef<HTMLElement>);
15 get label(): string;
16 ngOnChanges(changes: SimpleChanges): void;
17 ngAfterViewChecked(): void;
18 ngOnDestroy(): void;
19 static ɵfac: i0.ɵɵFactoryDeclaration<NgOptionComponent, never>;
20 static ɵcmp: i0.ɵɵComponentDeclaration<NgOptionComponent, "ng-option", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
21 static ngAcceptInputType_disabled: unknown;
22}