UNPKG

theme-lib

Version:

This is a simple example Angular Library published to npm.

23 lines (22 loc) 884 B
import { ComponentRef } from '@angular/core'; import { Observable, ReplaySubject, Subject } from 'rxjs'; import { NbWindowComponent } from './window.component'; import { NbWindowConfig, NbWindowState, NbWindowStateChange } from './window.options'; export declare class NbWindowRef { config: NbWindowConfig; componentRef: ComponentRef<NbWindowComponent>; protected prevStateValue: NbWindowState; protected stateValue: NbWindowState; state: NbWindowState; protected stateChange$: ReplaySubject<NbWindowStateChange>; readonly stateChange: Observable<NbWindowStateChange>; protected _closed: boolean; protected closed$: Subject<{}>; readonly onClose: Observable<{}>; constructor(config: NbWindowConfig); minimize(): void; maximize(): void; fullScreen(): void; toPreviousState(): void; close(): void; }