Reverses or advances the Pager widget setup for the given element.


To use with auto-widgets (HTML API) as part of a trigger specification:

  • Action name: "prev-page".
  • Accepted string arguments: none
  • Accepted options: none
<div class="lisn-pager" data-lisn-on-click="@prev-page +target=#myPrevButton"></div>
<button id="myPrevButton"></button>

Implements

Methods

Constructors

Properties

Methods

Constructors

Properties

do: () => Promise<void>

Reverses the pager by one page.

toggle: () => Promise<void>

Undoes the last action: advances the pager if do was last called or reverses it otherwise.

undo: () => Promise<void>

Advances the pager by one page.