Consider this Polymer fragment:
<core-menu on-core-activate="{{selectUser}}">
<template repeat="{{user in users}}">
<core-item label="{{user.name}}"></core-item>
</template>
</core-menu>
When a user clicks on a core-item
element and triggers selectUser
, how do I determine what user is associated with the activated core-item
? I'd like to get an instance to the actual object, and not some stringified identifier that I would use to look up the object.