UNPKG

@spectra/window-day-care

Version:

A library to help you create popup windows and iframes. It makes communication between parent and child window a breeze.

10 lines (7 loc) 294 B
import { Observable } from 'rxjs/Observable'; import { Subject } from 'rxjs/Subject'; import { ChildWindow } from './child-window'; export class PopUp extends ChildWindow { public constructor(_window: Window) { super(_window); } protected _cleanUp(): void { this._window.close(); } }