_dispatchRendererAction(action) {
    const eventNamed = 'context-action:' + action;
    document.body.dispatchEvent(new CustomEvent(eventNamed, {
      bubbles: true,
      cancelable: true
    }));
  }
/**
   * Dispatches web custom event with type as a comination of `context-action:`
   * and `action`. Module that requested the action should listen on the
   * window object for the event.
   * @param {String} action Registered action name.
   */
Dispatches web custom event with type as a comination of `context-action:`
and `action`. Module that requested the action should listen on the
window object for the event.
@param {String} action Registered action name.
Dispatches web custom event with type as a comination of ` context - action : ` and ` action ` . Module that requested the action should listen on the window object for the event . @param { String } action Registered action name .
_dispatchRendererAction(action) {
    const eventNamed = 'context-action:' + action;
    document.body.dispatchEvent(new CustomEvent(eventNamed, {
      bubbles: true,
      cancelable: true
    }));
  }
_dispatchRendererAction ( action ) { const eventNamed = 'context-action:' + action ; document . body . dispatchEvent ( new CustomEvent ( eventNamed , { bubbles : true , cancelable : true } ) ) ; }
Dispatches web custom event with type as a comination of `context-action:`
 and `action`.
Dispatches web custom event with type as a comination of ` context - action : ` and ` action ` .