The PDF
component is a simple pdf reader that allows you to display uploaded supplier documents, your candidate's CV or product specifications. The only thing it requires is a url pointing to the pdf document.
Properties
The Modal
component offers the following configuration properties.
Property | Type | Default value | Behavior |
---|---|---|---|
Page scale |
|
| Determines if the component scales the pdf to its width or heigth, i.e. if the full width or height of the component should be visible. |
Show footer |
|
| Determines if the footer should be visible. If the footer is shown, the pdf is paginated, i.e. the user can navigate to a different page of the pdf with the errors in the footer. If the footer is hidden, the pages are reachable by scroll. Additionally, a download button is available in the footer. |
URL |
| Defines the path of the url to be displayed in the component. By using |
Events
PDF
does not offer any events.
API
The PDF
exposes the following API in the JavaScript runtime environment.
Property / Function | Type | Behavior |
---|---|---|
|
| Current color of the brackground if any |
|
| Current color of the border if any |
| " | Whether the dimensions scale to the width or the height of the pdf |
|
| Sets the background color |
|
| Sets the border color |
|
| Sets the page scale to either |
|
| Defines if the footer should be displayed |
|
| Sets the url of the pdf |
|
| Whether the footer is visible or not |
|
| Url of the pdf document |
Last updated