SHARE
TWEET

Untitled

a guest Jul 21st, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Ember from 'ember';
  2.  
  3. export default Ember.Component.extend({
  4.  
  5.   actions: {
  6.     handleButtonClick() {
  7.         this.get('onButtonClick')();
  8.         alert('button clicked!');
  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