EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

insertRule method

Inserts the given keyframe rule into the list at the given key.

CSS Animations Module Level 3, Section 5Internet Explorer 10

 

Syntax

var retval = CSSKeyframesRule.insertRule(rule);

Parameters

rule [in]

Type: DOMString

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.

Return value

Type: HRESULT

This method can return one of these values.

Return valueDescription
S_OK

The operation completed successfully.

 

Standards information

See also

CSSKeyframesRule

 

 

Показ:
© 2015 Microsoft