This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

findRule

Method of css/cssom/CSSKeyframesRulecss/cssom/CSSKeyframesRule

Syntax

var object = object.findRule();

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

This method can return one of these values.

{

Notes

Remarks

If a rule with the given key does not exist, the findRule method does nothing.

Syntax

Standards information

Parameters

key [in]
Type: DOMStringThe key that corresponds to the CSSKeyframeRule object to find. The key must resolve to a number between 0 and 1, or the rule is ignored.
ruleRule [out, retval]
Type: CSSKeyframeRuleThe found rule.

See also

Related articles

Animation

CSSOM

Related pages

Attributions