Contents

findRule

Returns the keyframe rule for the specified selector.

Declaration

WebKitCSSKeyframeRule findRule (in DOMString key);

Parameters

  • key:

    A selector for the rule that is either a percentage or the keyword from or to.

Return Value

Returns the keyframe rule corresponding to the given selector if it exists.

See Also

Changing Rules