DEV Community

Discussion on: Web Components: from zero to hero

Collapse
 
3dsn profile image
Edson Barbosa • Edited

Hi Pascal, first of all it's a really nice article.

You said: We've currently set it only as an attribute, but we would like to have it available as a property as well. This is called reflecting properties to attributes.

Reflecting term is used vice versa or would be attribs to props ?

Collapse
 
thepassle profile image
Pascal Schilp • Edited

Hi Edson!

Good catch! That should be ‘reflecting properties to attributes’, we reflect a property to be available as an attribute on the node

Collapse
 
3dsn profile image
Edson Barbosa

tks man ... I found today another good explantion from aligator.io.

"alligator.io/web-components/attrib..."