0
我正在使用spin.js作爲頁面上的微調器。有一個小的jquery plugin調用微調,並停止它。我的問題是讓微調在延遲後停止。微調不會加載我的延遲代碼來阻止它。 這裏是我的代碼:Spin.js,使用.delay()並停止微調器
$("#loaderIcon").spin({
lines: 12, // The number of lines to draw
length: 7, // The length of each line
width: 4, // The line thickness
radius: 10, // The radius of the inner circle
color: '#000', // #rgb or #rrggbb
speed: 1, // Rounds per second
trail: 60, // Afterglow percentage
shadow: false // Whether to render a shadow
});
$("#loaderIcon").delay(3000).spin(false);
任何幫助將不勝感激!
謝謝!我忘了那個。 – Macsupport