Skip to content

Commit

Permalink
Update lib-event doc
Browse files Browse the repository at this point in the history
Added explicit info about wildcards in type parameter.
  • Loading branch information
edloidas committed Jan 28, 2025
1 parent 2b56c4e commit 08f97ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lib/lib-event/src/main/resources/lib/xp/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ interface EventListenerHelper {
* @example-ref examples/event/listener.js
*
* @param {object} params Listener parameters.
* @param {string} params.type Event type pattern.
* @param {string} params.type Event type pattern. Supports `*` as a wildcard, equivalent to `.*` in regular expressions.
* @param {function} params.callback Callback event listener.
* @param {boolean} params.localOnly Local events only (default to false).
*/
Expand Down

0 comments on commit 08f97ff

Please sign in to comment.