Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. import Ember from 'ember';
  2.  
  3. export default Ember.Controller.extend({
  4. appName: 'Ember Twiddle',
  5. sample: false,
  6. actions: {
  7. aa(){
  8. this.toggleProperty("sample");
  9.  
  10. $('.count').prop('Counter', 20).animate(
  11. {
  12. Counter: $('.count').text()
  13. }, {
  14. duration: 2000,
  15. easing: 'swing',
  16. step: function (now) {
  17. $(this).text(Math.ceil(now));
  18. }
  19. });
  20.  
  21. }
  22. }
  23. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement