Skip to content

Commit

Permalink
docs: fix event names on useVisibility() (#487)
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
leonvogt committed Feb 12, 2024
1 parent 171169b commit ea01447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/use-visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ useVisibility(controller, options)

| Option| Description |           Default value               |
|-----------------------|-------------|---------------------|
| `dispatchEvent` | Whether to dispatch a `click:outside` event or not.| `true` |
| `dispatchEvent` | Whether to dispatch `visible`, `invisible` events or not. | `true` |
|`eventPrefix`| Whether to prefix or not the emitted event. Can be a **boolean** or a **string**.<br>- **true** prefix the event with the controller identifier `application:visible` <br>- **someString** prefix the event with the given string `someString:invisible` <br>- **false** to remove prefix |true|
| `debug` | Whether to log debug information. See [debug](debug.md) for more information on the debugging tools|false|

Expand Down

0 comments on commit ea01447

Please sign in to comment.