class UIAnimationView
A view composite that manages animation playback on the contained view.
class UIAnimationView extends ViewComposite
Description
An animation controller view component can be used to play animations and/or automatically play them when the contained component is shown or hidden.
Constructor
- constructor()Creates a new instance of this view composite.
Instance Members
- applyViewPreset(preset)Applies the provided preset properties to this object.
- playAsync(animation?, repeat?)Plays the specified animation on the last output element rendered by the content view.
- showAnimationAnimation that will be played automatically when the content view is shown.
- hideAnimationAnimation that will be played when the content view is hidden (through
UIComponent.hidden
property orUIConditionalView
). - repeatAnimationAnimation that will be played repeatedly after the content view is shown.
Inherited Members
- bodyThe encapsulated view object.
- createView() protectedCreates the encapsulated view object, to be overridden if needed.
- beforeRender() protectedA method that’s called before the view is rendered, to be overridden if needed.
- findViewContent(type)Searches the view hierarchy for view objects of the provided type.
- requestFocus()Requests input focus on the contained view object.
- delegateViewEvent(event) protectedDelegates events from the current view.
- render(callback?)Renders the current view, if any.
- emit(event)Emits an event, immediately calling all event handlers.
- emitChange(name?, data?)Emits a change event, an instance of ManagedChangeEvent.
- listen(handler)Adds a handler for all events emitted by this object.
- isUnlinked()Returns true if the object has been unlinked.
- unlink()Unlinks this managed object.
- beforeUnlink() protectedA method that’s called immediately before unlinking an object, can be overridden.
- attach(target, observer?) protectedAttaches the provided managed object to this object.
- autoAttach(propertyName, observer?) protectedObserves a property, so that any object assigned to it is attached immediately.