-
Hey Wesley, I noticed this code Can't find a real DOM attribute called Cheers! |
Beta Was this translation helpful? Give feedback.
Answered by
luwes
Jul 22, 2021
Replies: 1 comment
-
hey Gen, it's indeed specific, I either ported it from hyperscript or one of Ryan's implementations. see here it's mainly because element properties are set by default, in some rare cases one might want to target element attributes directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nettybun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey Gen, it's indeed specific, I either ported it from hyperscript or one of Ryan's implementations.
see here
https://github.com/hyperhype/hyperscript/blob/master/index.js#L102
it's mainly because element properties are set by default, in some rare cases one might want to target element attributes directly.