Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

deleteRule method

Deletes the keyframe rule with the given key.

CSS Animations Module Level 3, Section 5Internet Explorer 10

 

Syntax

var retval = CSSKeyframesRule.deleteRule(key);

Parameters

key [in]

Type: DOMString

The key that describes the CSSKeyframeRule object to be deleted. The key must resolve to a number between 0 and 1, or the rule is ignored.

Return value

Type: HRESULT

This method can return one of these values.

Return valueDescription
S_OK

The operation completed successfully.

 

Standards information

Remarks

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

See also

CSSKeyframesRule

 

 

Show:
© 2015 Microsoft