Commit dcaa645e authored by 史锦峰's avatar 史锦峰

a

parent f76f061f
Pipeline #51 canceled with stages
(function ($) {
$.fn.numberRock = function (options) {
var defaults = {lastNumber: 100, duration: 2000, easing: 'swing'};
var opts = $.extend({}, defaults, options);
$(this).animate({num: "numberRock",}, {
duration: opts.duration, easing: opts.easing, complete: function () {
console.log("success");
}, step: function (a, b) {
$(this).html(parseInt(b.pos * opts.lastNumber));
}
});
}
})(jQuery);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment