Easy jQuery - .animate() method (10)



0
260

Welcome to tutorial number 10 of the Easy jQuery series, part of EasyProgramming.net. In today's tutorial, we're going to take a brief look at the .animate() method in jQuery. The animate method is a great way to visually show changes as t hey are happening. The method takes four arguments, the properties, duration, easing, and a complete callback function. Only the properties is required, the others are optional. The properties argument should contain CSS properties and values. The duration is done in milliseconds or slow/fast, The easing is either a swing or linear, by default it's swing. You can get more information on the jQuery api docs website. And the callback function is just something to trigger after the the animation has completed. To fork the fiddle and follow along: https://jsfiddle.net/easyjs/b517u6vm For more information, please visit https://www.EasyProgramming.net to view my other programming tutorials! Find videos of C++ tutorials, Excel tutorials, JavaScript Tutorials, and jQuery tutorials. ----------- Subscribe on YouTube: https://www.youtube.com/c/nazmusnasir Support me on Patreon: https://www.patreon.com/nazmus Follow me on Twitter: https://twitter.com/NazmusN Like me on Facebook: https://www.facebook.com/EasyProgrammingNet Follow me on Google+: https://plus.google.com/+NazmusNasir Check out my Github: https://github.com/naztronaut

Published by: Nazmus Nasir Published at: 5 years ago Category: آموزشی