You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LitElement will pass data to an element as properties, as long as the property is defined on the element's prototype. Otherwise it will fallback to passing data as attributes.
I just asked on the LitElement slack and this is not true. lit-html uses attributes by default and has an alternate syntax to explicitly pass a property instead, just like Vue.
P.S. Historically, this one the other way around (properties by default and special syntax to explicitly specify attributes). This was changed in lit-html 0.11 via lit/lit#398
The text was updated successfully, but these errors were encountered:
zevdg
added a commit
to zevdg/custom-elements-everywhere
that referenced
this issue
Jan 14, 2019
I just asked on the LitElement slack and this is not true. lit-html uses attributes by default and has an alternate syntax to explicitly pass a property instead, just like Vue.
P.S. Historically, this one the other way around (properties by default and special syntax to explicitly specify attributes). This was changed in lit-html 0.11 via lit/lit#398
The text was updated successfully, but these errors were encountered: