PDFPageElement: noUnclamped property

Works in all major browsers
Since July 2026

WebPDF works in Chrome and Edge 125, Firefox 153 and Safari 18, on desktop and mobile, and in every later version: the oldest versions its PDF.js build supports, which already have every platform feature WebPDF needs. Since July 2026, that is every major browser.

The noUnclamped property of the PDFPageElement interface sets or returns the page number of a <pdf-page> exactly as written, without the clamping that no applies.

Value

A number: the no attribute as written, 1 when it is absent. Setting it writes the attribute as is.

0 shows the first page. A number past the end keeps its value here while no reads the last page, so you can tell what was written from what is shown.

Examples

Written and shown

On a file with four pages:

js
const page = document.querySelector("pdf-page");
page.noUnclamped = 9;
page.noUnclamped; // 9, as written
page.no;          // 4, the page shown

Specifications

Not part of any specification. <pdf-file> and <pdf-page> are autonomous custom elements defined by WebPDF.pro.

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
noUnclamped
1251251531111812515383182712518

Legend

Full support

See also