Skip to content

Commit

Permalink
fix: Fix event delegation example in README (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrubisch authored Oct 18, 2023
1 parent 38a7194 commit da9c16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Just note that registered events are required to [bubble up through the DOM tree
// restrict `click` monitoring to <a> and <button> elements
TurboBoost.Commands.registerEventDelegate('click', [
'a[data-turbo-command]',
'button[data-command]'
'button[data-turbo-command]'
])
```

Expand Down

0 comments on commit da9c16a

Please sign in to comment.