title: How in livewire after clicking on gotoPage method to call JS function?
body: <p>In laravel 7 with livewire 1.3 I have a listing with pagination and lazy images
  applied to any item image by calling JS function lazyImagesInit(lazyload 2.0.0-rc.2 is used)
  when page is loaded. But when I click on pagination link I lose lazy images effect for any
  new opened items images .
  Looking into the code of cach file I see that gotoPage method is used :</p>
  <pre><code>&lt;?php if(is_array($element)): ?&gt;
      &lt;?php $__currentLoopData = $element; $__env-&gt;addLoop($__currentLoopData); foreach($__currentLoopData as $page =&gt; $url): $__env-&gt;incrementLoopIndices(); $loop = $__env-&gt;getLastLoop(); ?&gt;
          &lt;?php if($page == $paginator-&gt;currentPage()): ?&gt;
              &lt;li class=&quot;page-item active d-none d-md-block&quot; aria-current=&quot;page&quot;&gt;&lt;span class=&quot;page-link&quot;&gt;&lt;?php echo e($page); ?&gt;&lt;/span&gt;&lt;/li&gt;
          &lt;?php else: ?&gt;
              &lt;li class=&quot;page-item d-none d-md-block&quot;&gt;&lt;button type=&quot;button&quot; class=&quot;page-link&quot; wire:click=&quot;gotoPage(&lt;?php echo e($page); ?&gt;)&quot;&gt;&lt;?php echo e($page); ?&gt;&lt;/button&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
      &lt;?php endforeach; $__env-&gt;popLoop(); $loop = $__env-&gt;getLastLoop(); ?&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  <p>If there is a way after calling of gotoPage to call my lazyImagesInit function?</p>
  <p>Thanks!</p>