Anim
Class
- Anim (elem, props, duration, easing, callback)
Class Detail
-
Anim (elem, props, duration, easing, callback)A class for constructing animation instances.
- Parameters
-
- elem {HTMLElement|window} Html dom node or window (window can only animate scrollTop/scrollLeft)
- props {Object} style map
- [ duration ] {Number|Object} duration(s) or anim config
- [ duration.easing ] {String|Function} easing fn or string
- [ duration.complete ] {Function} callback function when this animation is complete
- [ duration.duration ] {Number} duration(s)
- [ duration.queue ] {String|Boolean} current animation's queue, if false then no queue
- [ easing ] {Function|String} easing fn or string
- [ callback ] {Function} callback function when this animation is complete
Methods Detail
-
isRunning () view source
- Returns
-
- {Boolean} whether this animation is running
-
run () view sourcestart this animation
-
stop (finish) view sourcestop this animation
- Parameters
-
- [ finish ] {Boolean} whether jump to the last position of this animation
Classes
- Anim
- Anim.Easing
- Attribute
- Base
- Button
- ComboBox
- ComboBox.LocalDataSource
- ComboBox.RemoteDataSource
- Component
- Component.Container
- Component.Controller
- Component.Manager
- Component.Render
- Component.UIBase
- Component.UIBase.Align
- Component.UIBase.Box
- Component.UIBase.Close
- Component.UIBase.Constrain
- Component.UIBase.ContentBox
- Component.UIBase.Drag
- Component.UIBase.Loading
- Component.UIBase.Mask
- Component.UIBase.Position
- Component.UIBase.Resize
- Component.UIBase.StdMod
- Cookie
- DataLazyload
- DD
- DD.Constrain
- DD.DDM
- DD.Draggable
- DD.DraggableDelegate
- DD.Droppable
- DD.DroppableDelegate
- DD.Proxy
- DD.Scroll
- DOM
- Editor
- Editor.Range
- Editor.Utils
- Editor.Walker
- Event
- Event.Object
- Event.Target
- IO
- IO.XhrObject
- KISSY
- KISSY.Defer
- KISSY.Loader
- KISSY.Loader.Module
- KISSY.Loader.Package
- KISSY.Promise
- Menu
- Menu.FilterMenu
- Menu.Item
- Menu.PopupMenu
- Menu.Separator
- MenuButton
- MenuButton.Option
- MenuButton.Select
- MVC
- MVC.Collection
- MVC.Model
- MVC.Router
- MVC.View
- NodeList
- Overlay
- Overlay.Dialog
- Overlay.Popup
- Resizable
- Tree
- Tree.CheckNode
- Tree.CheckTree
- Tree.Node
- Waterfall
- Waterfall.Loader