useTeleportTypography

Commons
stable

API

Signature

Signature TypeScript complète extraite du fichier du composable.

typescript

API

Paramètres

Paramètres d'entrée acceptés par ce composable.

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