Interface ICSSKeyframesRule
Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.2.0)
The CSSKeyframesRule interface represents a complete set of keyframes for a single animation
[ComVisible(true)]
[DOMObject]
[DOMName("CSSKeyframesRule")]
public interface ICSSKeyframesRule : ICSSRule
Implements
Properties
CSSRules
This attribute gives access to the keyframes in the list
ICSSRuleList CSSRules { get; }
Property Value
Name
This attribute is the name of the keyframes, used by the ‘animation-name’ property.
string Name { get; }
Property Value
Methods
AppendRule(string)
The appendRule method appends the passed CSSKeyframeRule into the list at the passed key
void AppendRule(string rule)
Parameters
rule
string
The rule to be appended, expressed in the same syntax as one entry in the ‘@keyframes’ rule
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
void DeleteRule(string key)
Parameters
key
string
The key which describes the rule to be deleted. The key must resolve to a number between 0 and 1, or the rule is ignored
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
ICSSKeyframeRule FindRule(string key)
Parameters
key
string
The key which described the rule to find. The key must resolve to a number between 0 and 1, or the rule is ignored.
Returns
The found rule