Skip to main content

Report Page

<sl-report-page> | SlReportPage
Since 2.0 hub24

A report page.

<sl-report-page></sl-report-page>

Examples

First Example

TODO

Second Example

TODO

[component-metadata:sl-report-page]

Slots

Name Description
(default) The report content.
header Content that should be rendered at the top of each printed page.

Learn more about using slots.

Properties

Name Description Reflects Type Default
landscape Whether to render the page in landscape orientation boolean false
fixedScale
fixed-scale
Whether to fix the scale of the page boolean false
showBackgroundColor
show-background-color
Whether to show the background color boolean false
updateComplete A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties.

Parts

Name Description
base The component’s base wrapper.

Learn more about customizing CSS parts.