UNPKG

openfin-browser-adapter

Version:
30 lines (29 loc) 797 B
import { BaseApiClass } from './Base'; export interface WindowOptions { url?: string; name?: string; } export interface WindowBounds { width: number; height: number; top: number; left: number; } export declare class Window extends BaseApiClass { static _name: string; contentWindow: any; identity: { uuid: string; name: string; }; static staticMethods: string[]; static staticSyncMethods: string[]; static instanceMethods: string[]; static getCurrent(): Promise<Window>; static getCurrentSync(): any; constructor(data: WindowOptions); static create(data: WindowOptions): Promise<Window>; close(force?: boolean): Promise<void>; getParentWindow(): Promise<Window>; getBounds(): Promise<WindowBounds>; }