Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWr committed Apr 11, 2024
1 parent 3736c8d commit b8cf974
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scriptlets/trusted-dispatch-event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ import {
* ```
*
* - `event` — required, name of the event to dispatch
* - `target` — optional, CSS selector of the element or a window object to dispatch the event on
* if not set then "document" is used
* - `target` — optional, target on which event will be invoked. Possible values:
* - `CSS selector` — dispatch event on the element with the specified selector
* - `window` — dispatch event on the window object
* - if not set, then "document" is used — it's default value
*
* ### Examples
*
Expand Down

0 comments on commit b8cf974

Please sign in to comment.