Skip to main content

applyTheme

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/theming/core/theme / applyTheme

Function: applyTheme()

applyTheme(theme: string, withTransition?: boolean): void

Defined in: utils/theming/core/theme.ts:106

Apply the given theme to the document body and persist it.

Parameters​

theme​

string

withTransition?​

boolean = true

Returns​

void