File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 44 - [ ` withPreventDefault ` ] ( with-prevent-default.md )
55 - [ ` withStopPropagation ` ] ( with-stop-propagation.md )
66 - [ ` withStopImmediatePropagation ` ] ( with-stop-immediate-propagation.md )
7- - [ ` withTargetValue ` ] ( with-target-value.md )
87 - [ ` withKeyPress ` ] ( with-keypress.md )
8+ - [ ` withTargetChecked ` ] ( with-target-checked.md )
9+ - [ ` withTargetValue ` ] ( with-target-value.md )
910- [ Contributing] ( contributing.md )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Calls your provided event handler function with `event.target.checked` as the fi
77``` js
88import { withTargetChecked } from " browser-event-utils" ;
99
10- myInputNode .addEventListener (
10+ myCheckboxNode .addEventListener (
1111 " change" ,
1212 withTargetChecked ((checked , event ) => {
1313 // 👈 Note that you still get the event object if you need it
You can’t perform that action at this time.
0 commit comments