imageRequestResize(event) {
    const tgt = event.target;
    if (tgt.tagName === 'IMG' && !(tgt.hasAttribute('height') || tgt.hasAttribute('width'))) {
      this.requestResize();
    }
  }
/**
   * imageRequestResize function to call requestResize event for slow loading image
   * @param {object} event - event which triggered the listener
   */
imageRequestResize function to call requestResize event for slow loading image
@param {object} event - event which triggered the listener
imageRequestResize function to call requestResize event for slow loading image @param { object } event - event which triggered the listener
imageRequestResize(event) {
    const tgt = event.target;
    if (tgt.tagName === 'IMG' && !(tgt.hasAttribute('height') || tgt.hasAttribute('width'))) {
      this.requestResize();
    }
  }
imageRequestResize ( event ) { const tgt = event . target ; if ( tgt . tagName === 'IMG' && ! ( tgt . hasAttribute ( 'height' ) || tgt . hasAttribute ( 'width' ) ) ) { this . requestResize ( ) ; } }
imageRequestResize function to call requestResize event for slow loading image
 @param {object} event - event which triggered the listener
imageRequestResize function to call requestResize event for slow loading image @param { object } event - event which triggered the listener