onZoom(window) {
    window.children.forEach((zoomable) => {
      const onZoom = () => {
        if (this.context.contextPath.map(({name}) => name).indexOf(zoomable.name) === -1 &&
        !(zoomable instanceof PractitionerCard)) {
          this.context.next(zoomable);
        }
      };
      zoomable.htmlElement.addEventListener("click", onZoom);
    });
  }
/**
   * Action when clicking on a window: zoom on the window
   * and set its sub-windows zoomable
   * @param {object} window to zoom in
   */
Action when clicking on a window: zoom on the window
and set its sub-windows zoomable
@param {object} window to zoom in
Action when clicking on a window : zoom on the window and set its sub - windows zoomable @param { object } window to zoom in
onZoom(window) {
    window.children.forEach((zoomable) => {
      const onZoom = () => {
        if (this.context.contextPath.map(({name}) => name).indexOf(zoomable.name) === -1 &&
        !(zoomable instanceof PractitionerCard)) {
          this.context.next(zoomable);
        }
      };
      zoomable.htmlElement.addEventListener("click", onZoom);
    });
  }
onZoom ( window ) { window . children . forEach ( ( zoomable ) => { const onZoom = ( ) => { if ( this . context . contextPath . map ( ( { name } ) => name ) . indexOf ( zoomable . name ) === - 1 && ! ( zoomable instanceof PractitionerCard ) ) { this . context . next ( zoomable ) ; } } ; zoomable . htmlElement . addEventListener ( "click" , onZoom ) ; } ) ; }
Action when clicking on a window: zoom on the window
 and set its sub-windows zoomable
 @param {object} window to zoom in
Action when clicking on a window : zoom on the window and set its sub - windows zoomable @param { object } window to zoom in