Open i-am-the-slime opened 1 year ago
I think all handler attributes (onClick, onChange, ...) have a corresponding attribute for registering handlers in the browser's capture phase (onClickCapture, onChangeCapture, ...).
onClick
onChange
onClickCapture
onChangeCapture
We should add them.
Would it be as simple as adding onClickCapture here?
https://github.com/purescript-react/purescript-react-basic-dom/blob/a3406d6a27afcdea36a2dae7ab23245267a061a6/codegen/consts.js#L68
Probably
I think all handler attributes (
onClick
,onChange
, ...) have a corresponding attribute for registering handlers in the browser's capture phase (onClickCapture
,onChangeCapture
, ...).We should add them.