UNPKG

ngx-gem-spaas

Version:

This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.

20 lines (19 loc) 644 B
/** * Enum used as msgType in the PostMessageModel. Will be used to know how to respond to a certain message. */ export declare enum PostMessageEnum { 'getTheme' = "1_getTheme", 'setTheme' = "2_setTheme" } /** * Model used to post messages from and to an iframe child app. * * @property {PostMessageEnum} msgType the type defined by PostMessageEnum. Will be used to know how * to respond to a certain message * @property {any} msgData any data you want to include in the PostMessage */ export declare class PostMessageModel { msgType: PostMessageEnum; msgData: any; constructor(type: PostMessageEnum, data?: any); }