How to use the @shopgate/engage/core.UIEvents.addListener function in @shopgate/engage

To help you get started, we’ve selected a few @shopgate/engage 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-gmd / components / AppBar / presets / DefaultBar / index.jsx View on Github external
constructor(props) {
    super(props);

    UIEvents.addListener(NavDrawer.EVENT_CLOSE, this.setFocus);
  }
github shopgate / pwa / themes / theme-gmd / components / AppBar / presets / DefaultBar / index.jsx View on Github external
componentWillUnmount() {
    UIEvents.addListener(NavDrawer.EVENT_CLOSE, this.setFocus);
  }
github shopgate / pwa / themes / theme-gmd / providers / View / index.jsx View on Github external
componentDidMount() {
    UIEvents.addListener(MODAL_EVENTS.SHOW, this.handleModalShow);
    UIEvents.addListener(MODAL_EVENTS.HIDE, this.handleModalHide);
  }
github shopgate / pwa / themes / theme-gmd / providers / View / index.jsx View on Github external
componentDidMount() {
    UIEvents.addListener(MODAL_EVENTS.SHOW, this.handleModalShow);
    UIEvents.addListener(MODAL_EVENTS.HIDE, this.handleModalHide);
  }