static percentageScrolled() {
    let h = document.documentElement,
      b = document.body,
      st = "scrollTop",
      sh = "scrollHeight";

    if (Properties.isFriendlyIframe) {
      return (_body[st] / (_body[sh] - window.innerHeight)) * 100;
    }
    return ((h[st] || b[st]) / ((h[sh] || b[sh]) - h.clientHeight)) * 100;
  }
/**
   * Returns the percenatge the page has scrolled.
   *
   * @returns {number} - amount scrolled.
   */
Returns the percenatge the page has scrolled.
@returns {number} - amount scrolled.
Returns the percenatge the page has scrolled . @returns { number } - amount scrolled .
static percentageScrolled() {
    let h = document.documentElement,
      b = document.body,
      st = "scrollTop",
      sh = "scrollHeight";
    if (Properties.isFriendlyIframe) {
      return (_body[st] / (_body[sh] - window.innerHeight)) * 100;
    }
    return ((h[st] || b[st]) / ((h[sh] || b[sh]) - h.clientHeight)) * 100;
  }
static percentageScrolled ( ) { let h = document . documentElement , b = document . body , st = "scrollTop" , sh = "scrollHeight" ; if ( Properties . isFriendlyIframe ) { return ( _body [ st ] / ( _body [ sh ] - window . innerHeight ) ) * 100 ; } return ( ( h [ st ] || b [ st ] ) / ( ( h [ sh ] || b [ sh ] ) - h . clientHeight ) ) * 100 ; }
Returns the percenatge the page has scrolled.
Returns the percenatge the page has scrolled .