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
{{ message }}
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
I just found the documentation on finding the model that goes w/ the target of an event handler. I haven't seen this in any of the examples and think it is worth demonstrating.
Often, you’ll want to identify the event with the model data used to generate the template instance, either to update the model data or to access a piece of data that isn’t rendered by the template.
You can get the model data from the event’s target.templateInstance.model property. Any identifiers that you could access inside the template are available as properties on the .model object.