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.

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