Skip to content

Commit c1aacd0

Browse files
committed
Document listenTo() accepts multiple event names
1 parent 144157c commit c1aacd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Immediately transitions to the target state if the provided predicate function r
231231

232232
Immediately transitions to the target state, if previous `cond()` did not pass.
233233

234-
### `listenTo(sender: EventTarget, eventName: string)`
234+
### `listenTo(sender: EventTarget, eventName: string | string[])`
235235

236236
Listens to an `EventTarget` — for example, an HTMLElement like a button.
237237

0 commit comments

Comments
 (0)