Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/plugins/paginate.ts>PaginationInfo

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

Pagination info

Properties

page: number

The current page number

totalPages: number

The total number of pages

totalResults: number

The total number of elements

previous: string | null

The url of the previous page

next: string | null

The url of the next page