Skip to content

Commit cecdfc5

Browse files
committed
docs: Improved useClickAway docs
1 parent 40466a6 commit cecdfc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/useClickAway/stories/useClickAway.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# useClickAway
22

3-
Vue function that triggers callback when user clicks outside of target area.
3+
Vue function that triggers a callback when the user clicks outside of the target area.
44

55
## Reference
66

@@ -14,7 +14,7 @@ useClickAway(
1414

1515
### Parameters
1616

17-
- `element: string` the element to checked for click away events
17+
- `element: string` the element to check for click away events
1818
- `onClickAway: string` the callback to run when triggering a click away
1919
- `events: string` list of events to listen to, defaults to `['mousedown', 'touchstart']`
2020

0 commit comments

Comments
 (0)