insertRule
Method of css/cssom/CSSKeyframesRulecss/cssom/CSSKeyframesRule
Syntax
var object = object.insertRule();
Return Value
Returns an object of type DOM NodeDOM Node
Type: HRESULT
This method can return one of these values.
{
Syntax
Standards information
- CSS Animations Module Level 3, Section 5
Parameters
- rule [in]
- Type: DOMStringThe CSSKeyframeRule object to be inserted, expressed in the same syntax as one entry in the @keyframes rule. The key, which describes the point at which the rule should be inserted, is included in the rule string. If a rule with the same key already exists in the list, this rule replaces it.
See also
Related articles
Animation
insertRule
CSSOM
insertRule
Related pages
- CSSKeyframesRuleCSSKeyframesRule
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]