Resolve import and LoadPageEvent issue

This commit is contained in:
GRL 2021-06-22 16:07:31 +02:00
parent ca3f5c599a
commit be23db5bcf
6 changed files with 75 additions and 26 deletions

View file

@ -2,6 +2,7 @@ import type { GoToPageEvent } from '../Events/GoToPageEvent';
import type { OpenTabEvent } from '../Events/OpenTabEvent';
import { IframeApiContribution, sendToWorkadventure } from './IframeApiContribution';
import type {OpenCoWebSiteEvent} from "../Events/OpenCoWebSiteEvent";
import type {LoadPageEvent} from "../Events/LoadPageEvent";
class WorkadventureNavigationCommands extends IframeApiContribution<WorkadventureNavigationCommands> {
@ -31,7 +32,7 @@ class WorkadventureNavigationCommands extends IframeApiContribution<Workadventur
"type": 'loadPage',
"data": {
url
}
} as LoadPageEvent
});
}