use/useIsActive
Overview
Returns a readonly boolean ref that tracks whether the current component is mounted and active (not deactivated by keep-alive).
Methods
- useIsActive - This composable provides a reactive boolean that is true when the component is active.
Types
IsActive
IsActive = DeepReadonly
Source
client/lib/use/useIsActive.js:1