Skip to content

Can't find info/docs on "attrs" attribute #180

Answered by luwes
nettybun asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nettybun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants