Speed values must be one of the following:
- a positive integer value
- "fast"
- "slow"
The numeric value is the number of milliseconds the effect should take to complete. For example, a value of 10000 will cause the effect take 10 seconds to complete, whereas a value of 1000 will cause the function to complete in 1 second. gfjh