renamed to goToRoom
This commit is contained in:
parent
7712bd685b
commit
c1e202b7b1
@ -21,10 +21,10 @@ interface WorkAdventureApi {
|
||||
onEnterZone(name: string, callback: () => void): void;
|
||||
onLeaveZone(name: string, callback: () => void): void;
|
||||
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup;
|
||||
openTab(url : string): void;
|
||||
goToPage(url : string): void;
|
||||
exitSceneTo(url : string): void;
|
||||
openCoWebSite(url : string): void;
|
||||
openTab(url: string): void;
|
||||
goToPage(url: string): void;
|
||||
goToRoom(url: string): void;
|
||||
openCoWebSite(url: string): void;
|
||||
closeCoWebSite(): void;
|
||||
disablePlayerControls(): void;
|
||||
restorePlayerControls(): void;
|
||||
@ -168,7 +168,7 @@ window.WA = {
|
||||
}, '*');
|
||||
},
|
||||
|
||||
exitSceneTo(url : string) : void{
|
||||
goToRoom(url: string): void {
|
||||
window.parent.postMessage({
|
||||
"type" : 'loadPage',
|
||||
"data" : {
|
||||
|
Loading…
Reference in New Issue
Block a user