-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSSKeyframesRule.json
More file actions
31 lines (31 loc) · 2.1 KB
/
CSSKeyframesRule.json
File metadata and controls
31 lines (31 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "CSSKeyframesRule",
"description": "This is an experimental technology Because this technology\u0027s specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes. The CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).",
"members": [
{
"name": "CSSKeyframesRule.name",
"link": "/en-US/docs/Web/API/CSSKeyframesRule/name",
"description": "Represents the name of the animation, used by the animation-name property."
},
{
"name": "CSSKeyframesRule.cssRules",
"link": "/en-US/docs/Web/API/CSSKeyframesRule/cssRules",
"description": "Returns a CSSRuleList of the CSS rules in the media rule."
},
{
"name": "CSSKeyframesRule.appendRule()",
"link": "/en-US/docs/Web/API/CSSKeyframesRule/appendRule",
"description": "Inserts a new keyframe rule into the current CSSKeyframesRule. The parameter is a DOMString containing a keyframe in the same format as an entry of a @keyframes at-rule. If it contains more than one keyframe rule, a DOMException with a SYNTAX_ERR is thrown."
},
{
"name": "CSSKeyframesRule.deleteRule()",
"link": "/en-US/docs/Web/API/CSSKeyframesRule/deleteRule",
"description": "Deletes a keyframe rule from the current CSSKeyframesRule. The parameter is the index of the keyframe to be deleted, expressed as a DOMString resolving as a number between 0 and 1."
},
{
"name": "CSSKeyframesRule.findRule()",
"link": "/en-US/docs/Web/API/CSSKeyframesRule/findRule",
"description": "Returns a keyframe rule corresponding to the given key. The key is a DOMString containing an index of the keyframe to be returned, resolving to a number between 0 and 1. If no such keyframe exists, findRule returns null."
}
]
}