theme-lib
Version:
This is a simple example Angular Library published to npm.
21 lines (20 loc) • 693 B
TypeScript
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
export declare class NbOptionComponent<T> {
protected parent: any;
protected elementRef: ElementRef;
protected cd: ChangeDetectorRef;
value: T;
setDisabled: boolean;
selectionChange: EventEmitter<NbOptionComponent<T>>;
selected: boolean;
disabled: boolean;
constructor(parent: any, elementRef: ElementRef, cd: ChangeDetectorRef);
readonly withCheckbox: boolean;
readonly content: any;
readonly multiple: any;
readonly selectedClass: boolean;
readonly disabledClass: boolean;
onClick(): void;
select(): void;
deselect(): void;
}