Adding test to check custom menus
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
let menuIframeApi = undefined;
|
||||
|
||||
WA.ui.registerMenuCommand('custom callback menu', () => {
|
||||
WA.nav.openTab("https://workadventu.re/");
|
||||
WA.chat.sendChatMessage('Custom menu clicked', 'Mr Robot');
|
||||
})
|
||||
|
||||
WA.ui.registerMenuCommand('custom iframe menu', {iframe: 'customIframeMenu.html'});
|
||||
|
||||
Reference in New Issue
Block a user