Methods # (static) closeSlideMenu() Close slide menu. Example Playtech.API.menu.closeSlideMenu(); # (static) getConfig() → {Object} Get list of configured menu items. Properties Name Type Description menuItems.target string menuItems.title string menuItems.url string menuItems.children Array.<menuItems> Returns: menuItems Type Object Example // {menuItems: [{target: "", title: "", url: "/home", children: [{target: "", title: "", url: "/home", children: [{...}], ...}], ...}] Playtech.API.menu.getConfig(); # (static) getMenuConfigAsync(disableCacheopt) → {Promise.<{menuItems: Array.<Object>}>} Get list of configured menu items asynchronously. Parameters: Name Type Attributes Description disableCache boolean <optional> if true data will always be taken from server instead of storage Returns: Type Promise.<{menuItems: Array.<Object>}> Example Playtech.API.menu.getMenuConfigAsync(true).then((data) => { ... }); # (static) getRootLevel() → {string} Get configured root page. Returns: Type string Example // '/home-fr' Playtech.API.menu.getRootLevel(); # (static) openSlideMenu() Open slide menu. Example Playtech.API.menu.openSlideMenu();