Skip to content

Function: usePrintMode()

usePrintMode(): boolean

Defined in: src/virtual/use-print-mode.ts:10

Subscribes to the print media query and returns whether print mode is active.

SSR-safe: returns false when window is undefined.

Returns

boolean