View as Markdown

API reference

@salmonui/pdf-viewer

37 exported symbols: 1 component, 2 functions, 17 interfaces, 13 types and 4 constants. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/pdf-viewer';

Components

Functions

  • resolveScaleResolves a zoom value to a numeric scale (fit modes measure the reference page against the viewport).
  • stepScaleNext zoom step from scale (direction 1 zooms in, -1 out).

Interfaces

Types

Constants