Skip to content

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

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2