Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- export default Ember.Controller.extend({
- appName: 'EmberSVG',
- circleRadius: 10,
- actions: {
- changeRadius(amount) {
- const currentRadius = this.get('circleRadius');
- console.log('change radous', amount, currentRadius);
- this.set('circleRadius', currentRadius + amount);
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement