CSSTransition class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Animations API represents an Animation object used for a CSS Transition.

EventTarget

Animation

CSSTransition

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CSSTransition()
factory

Properties

currentTime ↔ dynamic

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
effect AnimationEffect?

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
finished Future<Animation>

Available on Animation, provided by the PropsAnimation extension

no setter
hashCode int
The hash code for this object.
no setterinherited
id String

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
oncancel EventHandlerNonNull<Event>?

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
onfinish EventHandlerNonNull<Event>?

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
onremove EventHandlerNonNull<Event>?

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
pending bool

Available on Animation, provided by the PropsAnimation extension

no setter
playbackRate double

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
playState AnimationPlayState

Available on Animation, provided by the PropsAnimation extension

no setter
ready Future<Animation>

Available on Animation, provided by the PropsAnimation extension

no setter
replaceState AnimationReplaceState

Available on Animation, provided by the PropsAnimation extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime ↔ dynamic

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
timeline AnimationTimeline?

Available on Animation, provided by the PropsAnimation extension

getter/setter pair
transitionProperty String

Available on CSSTransition, provided by the PropsCSSTransition extension

no setter

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

cancel() → void

Available on Animation, provided by the PropsAnimation extension

commitStyles() → void

Available on Animation, provided by the PropsAnimation extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

finish() → void

Available on Animation, provided by the PropsAnimation extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void

Available on Animation, provided by the PropsAnimation extension

persist() → void

Available on Animation, provided by the PropsAnimation extension

play() → void

Available on Animation, provided by the PropsAnimation extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

reverse() → void

Available on Animation, provided by the PropsAnimation extension

toString() String
A string representation of this object.
inherited
updatePlaybackRate(double playbackRate) → void

Available on Animation, provided by the PropsAnimation extension

Operators

operator ==(Object other) bool
The equality operator.
inherited