ChemPal Documentation - v1.15.1
    Preparing search index...

    Function reloadPage

    • Reloads the current page. A named seam over window.location.reload() so tests can stub it (jsdom can't navigate, and its location can't be redefined).

      Returns void

      Nothing; the page reloads as a side effect.

      reloadPage(); // the extension page reloads
      
      export function reloadPage(): void {
      window.location.reload();
      }