fixed erroneous comma usage (#21826)
I removed commas that were unnecessary and put commas where they should occur in the sentences.pull/24884/head^2
parent
7eec4b898b
commit
afaa606d0e
|
@ -2,12 +2,12 @@
|
|||
title: jQuery Animate
|
||||
---
|
||||
## jQuery Animate
|
||||
jQuery's animate method makes it easy to create simple animations, using only a few lines of code. The basic structure is as following:
|
||||
jQuery's animate method makes it easy to create simple animations using only a few lines of code. The basic structure is as following:
|
||||
```javascript
|
||||
$(".selector").animate(properties, duration, callbackFunction());
|
||||
```
|
||||
For the `properties` argument you need to pass a javascript object, with the CSS properties you want to animate as keys, and the values you want to animate to as values.
|
||||
For the `duration` you need to input the amount of time in milliseconds the animation should take.
|
||||
For the `properties` argument, you need to pass a javascript object with the CSS properties you want to animate as keys and the values you want to animate to as values.
|
||||
For the `duration`, you need to input the amount of time in milliseconds the animation should take.
|
||||
The `callbackFunction()` is executed once the animation has finished.
|
||||
|
||||
### Example
|
||||
|
|
Loading…
Reference in New Issue