Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import Ember from 'ember';
  2.  
  3. export default Ember.Controller.extend({
  4. appName: 'EmberSVG',
  5. circleRadius: 10,
  6. actions: {
  7. changeRadius(amount) {
  8.  
  9. const currentRadius = this.get('circleRadius');
  10. console.log('change radous', amount, currentRadius);
  11. this.set('circleRadius', currentRadius + amount);
  12. }
  13. }
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement