Skip to main content

PDF Viewer

PDF Viewer allows you to view PDF files.

Example

A8Studio

API Methods

setPdfUrl

Sets the URL of the pdf.

setPdfUrl(url: string): void

setSize

Sets the size only using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setVisibility

Sets if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition.

setVisibilityCondition(condition: string): void