Helpers

By adding custom attributes to the HTML tag give the element extra functions.

The following code will enhance the link by fetching the target page and replace the page then push state.

<a href="./"
  ph-pjax-link
  ph-params="from:::this/innerHTML">
  ToNewPage</a>

Table of contents


Back to top

Discord, QQ group:418474680