title: How do I get the ID of a clicked node in cytoscape.js?
body: <p>This example in the documentation:</p>
  
  <pre><code>  cy.on('click', function(evt){
        console.log( 'clicked ' + this.id() );
  });
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>Uncaught TypeError: Object [object Object] has no method 'id' 
  </code></pre>
  
  <p>And evt.cyTarget.data() returns undefined.</p>