Skip to content

useBoosterCritical

Options

PropertyTypeDescriptionDefault Value
criticalBooleanOverride critical from component.inherit from component
js
const { isCritical } = useBoosterCritical({critical: true});

Return

PropertyDescription
isCriticalIndicates whether critical is active.

Example

html
<template>
  <span>Critical? {{isCritical}}</span>
</template>

<script setup>
  const { isCritical } = useBoosterCritical();
</script>