Skip to content

useBoosterFont

Options

PropertyTypeDescriptionDefault Value
criticalBooleanOverride critical from component.inherit from component
js
const { $getFont } = useBoosterFonts({critical: true});

Return

PropertyDescription
isCriticalIndicates whether critical is active.
$getFontLearn more about $getFont

Example

html
<template>
  <span v-font="$getFont(…)"></span>
</template>

<script setup>
  const { $getFont } = useBoosterFonts();
</script>