This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/web/features/fullscreen-mode.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. JavaScript PDF viewer fullscreen mode | Nutrient Web SDK

Nutrient Web SDK doesn’t support a fullscreen mode at this point, but you can implement this yourself using the fullscreen API(opens in a new tab).

The following example outlines an approach that works on multiple browsers:

function requestFullscreen(element) {
if (element.requestFullscreen) {
element.requestFullscreen();
} else if (element.webkitRequestFullscreen) {
element.webkitRequestFullscreen();
}
}
requestFullscreen(nutrientContainer);