This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

fill

Summary

The fill mode as specified by one of the FillMode enumeration values.

When performing timing calculations the special value auto is expanded to one of the fill modes recognized by the timing model as follows,

If the animation node to which the fill mode is being is applied is an animation, Use none as the fill mode. Otherwise, Use both as the fill mode.

Property of apis/web_animations/AnimationTimingReadOnlyapis/web_animations/AnimationTimingReadOnly

Syntax

Note: This property is read-only.

var result = element.fill;

Return Value

Returns an object of type ObjectObject

Returns a FillMode object