How to use the @shopgate/pwa-core.UIEvents.emit function in @shopgate/pwa-core

To help you get started, we’ve selected a few @shopgate/pwa-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shopgate / pwa / libraries / engage / core / router / helpers.js View on Github external
export function push(params) {
  UIEvents.emit(NAVIGATION_PUSH, params);
}
github shopgate / pwa / themes / theme-gmd / components / Navigator / subscriptions / index.js View on Github external
subscribe(streams.toggleNavigatorCart$, ({ action }) => {
    UIEvents.emit(TOGGLE_NAVIGATOR_CART, action.visible);
  });
github shopgate / pwa / libraries / common / providers / loading / index.jsx View on Github external
static setLoading(path) {
    UIEvents.emit(LoadingProvider.SET, path);
  }
github shopgate / pwa / themes / theme-gmd / components / Navigator / subscriptions / index.js View on Github external
subscribe(streams.toggleNavigatorTitle$, ({ action }) => {
    UIEvents.emit(TOGGLE_NAVIGATOR_TITLE, action.visible);
  });
github shopgate / pwa / libraries / common / providers / loading / index.jsx View on Github external
static unsetLoading(path) {
    UIEvents.emit(LoadingProvider.UNSET, path);
  }
github shopgate / pwa / libraries / engage / core / router / helpers.js View on Github external
export function replace(params) {
  UIEvents.emit(NAVIGATION_REPLACE, params);
}