課程
/前端開(kāi)發(fā)
/jQuery
/jQuery基礎(chǔ)(四)—動(dòng)畫(huà)篇
.animate(?properties,?options?)這里的options是什么意思?有什么作用?能舉個(gè)例子嗎?
2019-08-13
源自:jQuery基礎(chǔ)(四)—動(dòng)畫(huà)篇 5-1
正在回答
$('#elem').animate({ width: 'toggle',? ?height: 'toggle' ?}, {??
? ? ? ? duration: 5000,
? ? ? ? specialEasing: { ? ? ?width: 'linear', ? ? ?height: 'easeOutBounce' ? ?}, ? ?
? ? ? ? complete: function() { ? ? ?$(this).after('Animation complete.');? ? ?}? ?
? ? ? ?});
舉報(bào)
jQuery基礎(chǔ)教程動(dòng)畫(huà)篇,講解jQuery基礎(chǔ)開(kāi)啟動(dòng)畫(huà)修煉
3 回答這是什么意思
1 回答這是什么意思?
1 回答參數(shù)options是指什么?
1 回答fadeOut(option)是什么意思?
1 回答$("p").fadeOut(1000, "linear");中的“linear”是什么意思?有什么作用
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2022-03-29
2019-08-19
$('#elem').animate({ width: 'toggle',? ?height: 'toggle' ?}, {??
? ? ? ? duration: 5000,
? ? ? ? specialEasing: { ? ? ?width: 'linear', ? ? ?height: 'easeOutBounce' ? ?}, ? ?
? ? ? ? complete: function() { ? ? ?$(this).after('Animation complete.');? ? ?}? ?
? ? ? ?});