@arrowhealth/bridge-sdk
Version:
Bridge SDK provides web applications the ability to integrate with the Bridge Platform.
16 lines (15 loc) • 386 B
TypeScript
export interface Request {
appId: string;
event: string;
win: Window;
data?: any;
}
/**
* @private
*/
export declare const emitToChild: (win: Window, event: string, data?: any) => void;
/**
* @private
*/
export declare const emitToParent: (event: string, data?: any) => void;
export declare const on: (event: string, handle: (request: Request) => void) => Function;