admin:online-platform-cms:using-web-ui-custom-events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:online-platform-cms:using-web-ui-custom-events [2021/09/27 10:07] evaldas-luksysadmin:online-platform-cms:using-web-ui-custom-events [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 164: Line 164:
  
    if (routeChangeEvent.detail.moduleName === 'betgames-iframe') {    if (routeChangeEvent.detail.moduleName === 'betgames-iframe') {
-       // preventDefault stops the route from updating, so we do not access page with the betgames-iframe module when user clicks +       // preventDefault prevents the route from updating, so the user cannot access this page normally as he would. In this case 
-       // on this page+       // we provide our custom solution to guide user when he tries to visit this module (page)
        routeChangeEvent.preventDefault();        routeChangeEvent.preventDefault();
        displayBetGamesModal(routeChangeEvent.detail.to, routeChangeEvent.detail.from);        displayBetGamesModal(routeChangeEvent.detail.to, routeChangeEvent.detail.from);
  • admin/online-platform-cms/using-web-ui-custom-events.1632737246.txt.gz
  • Last modified: 2021/09/27 10:07
  • (external edit)