Skip to content

useActiveElement ​

Category
Elements

Hook that returns the active element

typescript
import { useActiveElement } from '@siberiacancode/reactuse';

Usage ​

typescript
const activeElement = useActiveElement();

Demo ​

Api ​

Contributors ​

Source • Demo