Inserts the given keyframe rule into the list at the given key.
Syntaxvar retval = CSSKeyframesRule.insertRule(rule);
- rule [in]
The 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.
This method can return one of these values.
The operation completed successfully.
- CSS Animations Module Level 3, Section 5