Meziantou.Framework.WebPlatform.Animations namespace

Classes

NameDescription
AnimationAn animation: plays an animation effect on a timeline (https://drafts.csswg.org/web-animations-1/#animations).
AnimationEffectAn animation effect: its timing properties and the timing model that calculates its progress from the current time of its animation (https://drafts.csswg.org/web-animations-1/#animation-effects).
AnimationEventThe event fired by the CSS animations: animationstart, animationiteration, animationend and animationcancel (https://drafts.csswg.org/css-animations-1/#interface-animationevent).
AnimationEventInitThe initialization dictionary of AnimationEvent (https://drafts.csswg.org/css-animations-1/#dictdef-animationeventinit).
AnimationPlaybackEventThe event fired when the playback state of an animation changes: finish, cancel and remove (https://drafts.csswg.org/web-animations-1/#animationplaybackevent).
AnimationPlaybackEventInitThe initialization dictionary of AnimationPlaybackEvent (https://drafts.csswg.org/web-animations-2/#dictdef-animationplaybackeventinit).
AnimationTimelineA source of time values for animations (https://drafts.csswg.org/web-animations-1/#timelines).
ComputedEffectTimingThe timing properties of an animation effect and its calculated timing (https://drafts.csswg.org/web-animations-1/#dictdef-computedeffecttiming).
ComputedKeyframeA keyframe returned by KeyframeEffect.GetKeyframes (https://drafts.csswg.org/web-animations-1/#dictdef-basecomputedkeyframe).
CssAnimationAn animation created by the animation-* properties (https://drafts.csswg.org/css-animations-2/#the-CSSAnimation-interface). It is updated when the styles of its owning element change, except for the properties changed through the API.
CssTransitionAn animation created by a change of the value of a property with a transition (https://drafts.csswg.org/css-transitions-2/#the-CSSTransition-interface).
DocumentTimelineA timeline whose time is the time of the frames of its document (https://drafts.csswg.org/web-animations-1/#document-timelines): it is updated when the event loop updates the rendering, and stays the same during a task.
DocumentTimelineOptionsThe options of a document timeline (https://drafts.csswg.org/web-animations-1/#dictdef-documenttimelineoptions).
EffectTimingThe timing properties of an animation effect (https://drafts.csswg.org/web-animations-1/#dictdef-effecttiming).
KeyframeA keyframe (https://drafts.csswg.org/web-animations-1/#dictdef-basekeyframe): its offset, easing function, composite operation and property values.
KeyframeEffectAn animation effect that animates the properties of an element with keyframes (https://drafts.csswg.org/web-animations-1/#keyframe-effects).
KeyframeEffectOptionsThe options of a keyframe effect (https://drafts.csswg.org/web-animations-1/#dictdef-keyframeeffectoptions).
OptionalEffectTimingThe timing properties to update (https://drafts.csswg.org/web-animations-1/#dictdef-optionaleffecttiming): null members are not changed.
ScrollTimelineA scroll progress timeline (https://drafts.csswg.org/scroll-animations-1/#scrolltimeline-interface): its current time is the scroll progress of a scroll container along an axis, as a percentage. It is a progress-based timeline whose duration is 100%.
ScrollTimelineOptionsThe options of a scroll timeline (https://drafts.csswg.org/scroll-animations-1/#dictdef-scrolltimelineoptions).
TimelineRangeOffsetA point of a timeline given by a named timeline range and an offset (https://drafts.csswg.org/web-animations-2/#dictdef-timelinerangeoffset).
TransitionEventThe event fired by the CSS transitions: transitionrun, transitionstart, transitionend and transitioncancel (https://drafts.csswg.org/css-transitions-1/#interface-transitionevent).
TransitionEventInitThe initialization dictionary of TransitionEvent (https://drafts.csswg.org/css-transitions-1/#dictdef-transitioneventinit).
ViewTimelineA view progress timeline (https://drafts.csswg.org/scroll-animations-1/#viewtimeline-interface): its current time is the progress of the visibility of a subject in the scrollport of its nearest ancestor scroll container, as a percentage (0% when it starts entering the scrollport, 100% when it has left it).
ViewTimelineOptionsThe options of a view timeline (https://drafts.csswg.org/scroll-animations-1/#dictdef-viewtimelineoptions).
WorkletAnimationA worklet animation (https://drafts.css-houdini.org/css-animation-worklet-1/#worklet-animation-desc): an animation whose current time does not determine the local time of its effects. An animator, an instance of a class registered in the animation worklet of the document (CSS.animationWorklet, Document.AnimationWorklet), gets the current time of the animation at each frame and sets the local times of the effects.
WorkletAnimationEffectAn animator effect (https://drafts.css-houdini.org/css-animation-worklet-1/#animator-effect): the effect of a worklet animation in the animation worklet. The animate() callback of the animator sets its local time, which is synced to the effect after the callback.
WorkletGroupEffectThe effect of a worklet animation created with several effects (https://drafts.css-houdini.org/css-animation-worklet-1/#worklet-group-effect): the animator sets the local times of the children individually.

Structs

NameDescription
EffectDurationThe (unrestricted double or CSSNumericValue or DOMString) union of the iteration duration: a number of milliseconds or "auto".
TimelineRangeValueThe (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) union of rangeStart and rangeEnd (https://drafts.csswg.org/web-animations-2/#dom-keyframeanimationoptions-rangestart).

Enums

NameDescription
AnimationPlayStateThe play state of an animation (https://drafts.csswg.org/web-animations-1/#play-states).
AnimationReplaceStateThe replace state of an animation (https://drafts.csswg.org/web-animations-1/#animation-replace-state).
CompositeOperationHow the values of a keyframe effect are combined with the underlying value (https://drafts.csswg.org/web-animations-1/#effect-composition).
CompositeOperationOrAutoThe composite operation of a keyframe, or auto to use the composite operation of the effect.
FillModeThe fill mode of an animation effect (https://drafts.csswg.org/web-animations-1/#fill-behavior).
IterationCompositeOperationHow the iterations of a keyframe effect build on each other (https://drafts.csswg.org/web-animations-2/#effect-accumulation-section).
PlaybackDirectionThe playback direction of an animation effect (https://drafts.csswg.org/web-animations-1/#direction-control).
ScrollAxisThe axis of a scroll-driven timeline (https://drafts.csswg.org/scroll-animations-1/#enumdef-scrollaxis).