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.

deleteRule

Method of css/cssom/CSSKeyframesRulecss/cssom/CSSKeyframesRule

Syntax

var object = object.deleteRule();

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 deleteRule method does nothing.

Syntax

Standards information

Parameters

key [in]
Type: DOMStringThe 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.

See also

Related articles

Animation

CSSOM

Related pages

Attributions