Appearance
Overview
The pdf-thumbnails component displays a sequence of thumbnail images corresponding to the pages of the associated document.
In addition to a document property, the pdf-thumbnails component can also specify a pagesviewer; in this case, selecting a thumbnail causes the named viewer to scroll to the corresponding page. In this way, the <pdf-thumbnails> element can control the viewer's current page selection.
Usage
When creating a pdf-thumbnails component, use the document property to identiy the pdf-document to be displayed.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
direction | direction | Layout thumbnails from left to right in a row or from top to bottom in a column. | "column" | "row" | undefined | 'row' |
document | document | Identifies the PdfDocument component by its 'name' property. | string | undefined | 'default' |
pagesviewer | pagesviewer | Identifies the PdfPages component by its 'name' property. | string | undefined | 'default' |
Built with StencilJS