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
The documentation currently states that using ifDefined on something that isn't an attribute part is a no-op, however at runtime ifDefined correctly shows the property default, whilst undefined doesn't. This contradicts that it is a no-op.
There was a change in behavior between Lit 1 and Lit 2 with the ifDefined directive, where some previously no-op behavior is now valid usage. See runem/lit-analyzer#223 for more details.
There are 3 places where ifDefined needs to be updated:
Context
The documentation currently states that using ifDefined on something that isn't an attribute part is a no-op, however at runtime
ifDefined
correctly shows the property default, whilstundefined
doesn't. This contradicts that it is a no-op.There was a change in behavior between Lit 1 and Lit 2 with the
ifDefined
directive, where some previously no-op behavior is now valid usage. See runem/lit-analyzer#223 for more details.There are 3 places where
ifDefined
needs to be updated:Completion criteria
The text was updated successfully, but these errors were encountered: