useTeleportTypography

Commons
stable

API

Signature

Full TypeScript signature sourced from the composable file.

typescript

API

Parameters

Input parameters accepted by this composable.

fieldRef
required
Ref<{ $el?: HTMLElement } | undefined>
isOpen
required
Ref<boolean>
extraVars
required
(fontSize: string) => Record<string, string>
measureSelector
string
TELEPORT_TYPOGRAPHY_MEASURE_SELECTOR
neutralFontSize
string
TELEPORT_TYPOGRAPHY_NEUTRAL_FONT_SIZE