How to use the @shopgate/pwa-core.UIEvents.removeListener 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 / themes / theme-ios11 / components / TabBar / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.removeListener(SHOW_TAB_BAR, this.show);
    UIEvents.removeListener(HIDE_TAB_BAR, this.hide);
  }
github shopgate / pwa / libraries / engage / components / VideoPlayer / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.removeListener(UI_VISIBILITY_CHANGE, this.handleVisibilityChange);
  }
github shopgate / pwa / themes / theme-ios11 / components / TabBar / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.removeListener(SHOW_TAB_BAR, this.show);
    UIEvents.removeListener(HIDE_TAB_BAR, this.hide);
  }
github shopgate / pwa / libraries / common / providers / loading / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.removeListener(this.constructor.SET, this.setLoading);
    UIEvents.removeListener(this.constructor.RESET, this.resetLoading);
    UIEvents.removeListener(this.constructor.UNSET, this.unsetLoading);
  }
github shopgate / pwa / libraries / common / providers / loading / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.removeListener(this.constructor.SET, this.setLoading);
    UIEvents.removeListener(this.constructor.RESET, this.resetLoading);
    UIEvents.removeListener(this.constructor.UNSET, this.unsetLoading);
  }
github shopgate / pwa / libraries / common / providers / loading / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.removeListener(this.constructor.SET, this.setLoading);
    UIEvents.removeListener(this.constructor.RESET, this.resetLoading);
    UIEvents.removeListener(this.constructor.UNSET, this.unsetLoading);
  }