 <h1>Pull down to refresh</h1>
        <p>Pulling up should shrink the address bar in Chrome mobile and Safari mobile</p>
        <p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p>
      </main>
    </div>

    <script>
      pullToRefresh({
        container: document.querySelector('.container'),
        animates: ptrAnimatesIos,

        refresh() {
          return new Promise(resolve => {
            setTimeout(resolve, 2000)
          })
        }
      