課程
/前端開發
/jQuery
/jQuery基礎(四)—動畫篇
.animate(?properties,?options?)這里的options是什么意思?有什么作用?能舉個例子嗎?
2019-08-13
源自:jQuery基礎(四)—動畫篇 5-1
正在回答
$('#elem').animate({ width: 'toggle',? ?height: 'toggle' ?}, {??
? ? ? ? duration: 5000,
? ? ? ? specialEasing: { ? ? ?width: 'linear', ? ? ?height: 'easeOutBounce' ? ?}, ? ?
? ? ? ? complete: function() { ? ? ?$(this).after('Animation complete.');? ? ?}? ?
? ? ? ?});
舉報
jQuery基礎教程動畫篇,講解jQuery基礎開啟動畫修煉
3 回答這是什么意思
1 回答這是什么意思?
1 回答參數options是指什么?
1 回答fadeOut(option)是什么意思?
1 回答$("p").fadeOut(1000, "linear");中的“linear”是什么意思?有什么作用
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
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.');? ? ?}? ?
? ? ? ?});