Skip to main content

Interface: TemplateRenderContext

Context passed to template header, footer, and page-number callbacks.

Properties

PropertyModifierTypeDescription
author?readonlystringDocument author name.
pageNumberreadonlynumberOne-based page number currently being rendered.
title?readonlystringDocument title or display title.
totalPagesreadonlynumberTotal page count in the rendered template document.