wip
This commit is contained in:
parent
e9b3b5ffcd
commit
f80c5d26b5
4 changed files with 55 additions and 14 deletions
|
|
@ -19,6 +19,7 @@ export type MiPostMessageEvent = {
|
|||
* 親フレームにイベントを送信
|
||||
*/
|
||||
export function postMessageToParentWindow(type: PostMessageEventType, payload?: any): void {
|
||||
if (_DEV_) console.log('postMessageToParentWindow', type, payload);
|
||||
window.parent.postMessage({
|
||||
type,
|
||||
payload,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue