Module

x/lume/plugins/paginate.ts>PaginateOptions

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface PaginateOptions
import { type PaginateOptions } from "https://deno.land/x/lume@v1.13.1/plugins/paginate.ts";

The options for the paginate helper

Properties

size: number

The number of elements per page

url: (page: number) => string

The function to generate the url of the pages

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

Function to modify or add extra data to each page