📅  最后修改于: 2022-03-11 15:03:47.478000             🧑  作者: Mango
$("#demo").hide(); // sets to display: none
$("#demo").show(200); // shows hidden elemnt with animation (speed)
$("#demo").toggle(); // toggle between show and hide
$( "#element" ).hide( "slow", function() { // hide with callback function
console.log( "Animation complete." );
});