SHARE
TWEET

Untitled

a guest Jun 27th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Ember from 'ember';
  2.  
  3. export default Ember.Controller.extend({
  4.   appName: 'Ember Twiddle',
  5.   exampleLabel: '',
  6.   actions: {
  7.     myAction(clickEvent) {
  8.         this.set('exampleLabel', `Clicked on element with id #${clickEvent.target.id}`)
  9.     }
  10.   }
  11. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top