Last page message
Last updated
Was this helpful?
Last updated
Was this helpful?
When your pages are finite, it is best practise to inform the user that the last page was hit.
First add an element to your document with the message you want to show.
Next add a bit of CSS to hide the element on default:
Then listen for the event and show to element.