Skip to content

Pages ​

Last updated View as Markdown

This module provides a halper for fetching the store's pages.

Info

This module is using the Pagination module. The Pagination module to be documented.

How to use ​

ts
const response = youcanjs.page.fetchAll();
const pages = await response.data();
const nextPage = response.next().data();

Returns ​

Array of Pages.

Throws ​

ApplicationException if the request fails, or any other error occurs.