-
Notifications
You must be signed in to change notification settings - Fork 0
API Documents
fr0m edited this page Mar 19, 2014
·
8 revisions
Background.tick([source, callback]);Background.tick([options]);-
options
Type : PlainObject-
source
Type : PlainObject-
imageUrl
- Type : String
- Default : None
- Values : URL of an image
- define the background-image
-
jsonString
- Type : String
- Default : None
- Values : URL return in JSON format or String in JSON format
- define the background and how it will change by time
-
json
- Type : Object
- Default : None
- Values : JSON Object
- define the background and how it will change by time
-
imageUrl
-
duration
- Type : String
- Default : "1s"
- Values : "xs"
- define the duration of the animation
-
easeType
- Type : String
- Default : "ease-out"
- Values : "ease", "ease-in", "ease-out", "ease-in-out", "linear", "step-start", "step-end"
- define the ease type of the animation
-
callback
- Type : Function
- Default : None
- Values : a function run after the background slide animation ended
- define the callback function of the animation
-
source