ICSSKeyframesRule Interface

ICSSKeyframesRule interface

The CSSKeyframesRule interface represents a complete set of keyframes for a single animation

public interface ICSSKeyframesRule : ICSSRule

Properties

NameDescription
CSSRules { get; }This attribute gives access to the keyframes in the list
Name { get; }This attribute is the name of the keyframes, used by the ‘animation-name’ property.

Methods

NameDescription
AppendRule(string)The appendRule method appends the passed CSSKeyframeRule into the list at the passed key
DeleteRule(string)The deleteRule method deletes the CSSKeyframeRule with the passed key. If a rule with this key does not exist, the method does nothing
FindRule(string)The findRule method returns the rule with a key matching the passed key. If no such rule exists, a null value is returned

See Also