Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- export default Ember.Controller.extend({
- appName: 'Ember Twiddle',
- sample: false,
- actions: {
- aa(){
- this.toggleProperty("sample");
- $('.count').prop('Counter', 20).animate(
- {
- Counter: $('.count').text()
- }, {
- duration: 2000,
- easing: 'swing',
- step: function (now) {
- $(this).text(Math.ceil(now));
- }
- });
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement