Module

x/lume/plugins/paginate.ts>PaginateOptions

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface PaginateOptions
import { type PaginateOptions } from "https://dotland.deno.dev/x/lume@v2.4.2/plugins/paginate.ts";

The options for the paginate helper

Properties

optional
size: number

The number of elements per page

optional
url: (page: number) => string

The function to generate the url of the pages

optional
each: (data: PaginateResult<unknown>, page: number) => void

Function to modify or add extra data to each page