Skip to content

useTextSelection ​

Category
Sensors
Last Changed
11 months ago

Hook that manages the text selection

typescript
import { useTextSelection } from '@elysiumorg/solid-use';

Usage ​

typescript
const selection = useTextSelection();

Demo ​

Api ​