Inline

PageNumber

In a Document's text: the number of the page it's on, or (total) how many pages there are.

import { PageNumber } from "@hyper-elements/react";

Reference

In a Document’s text: the number of the page it’s on, or (total) how many pages there are.

Holds: nothing. Drawn in: page.

Props:

  • total: true or false (default false). How many pages the Document has, instead of this page’s number.