Skip to content

useIsActive ​

Overview ​

This composable provides a reactive boolean that is true when the component is active.

Signature ​

useIsActive()

Returns ​

Readonly

A readonly ref indicating whether the component is currently active.

Source ​

client/lib/use/useIsActive.js:18