title: Polymer accessing model data on-click
body: <p>I'm trying to add an on-click inside a Polymer dom-repeat section. Looking at the documentation <a href="https://www.polymer-project.org/1.0/docs/devguide/templates" rel="nofollow">here</a>, Polymer seems to do this automatically and store the data in a 'model' property. </p>
  
  <p>Using this, I've been able to get the data (username) I want by doing this:</p>
  
  <pre><code>let username = event.model.__data__.user.username;
  </code></pre>
  
  <p>However, although this works, it definitely doesn't look right... Does anyone have any pointers?</p>