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
can-slot’s docs cover passing context to a template, but they don’t mention that you can pass the template’s entire context to the slot by writing this:from="this", as mentioned in this comment: #198 (comment)
<can-slotname="test" this:from="this"><a-componentobject:from="myObject" /><!-- myObject is defined outside the can-slot --></can-slot>
The text was updated successfully, but these errors were encountered:
can-slot’s docs cover passing context to a template, but they don’t mention that you can pass the template’s entire context to the slot by writing
this:from="this"
, as mentioned in this comment: #198 (comment)The text was updated successfully, but these errors were encountered: