The CSSKeyframesRule interface describes an object representing
complete set of keyframes for a CSS animation. It corresponds
the contents of a whole @keyframes
at-rule. It implements the
interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).
The CSSKeyframesRule interface describes an object representing complete set of keyframes for a CSS animation. It corresponds the contents of a whole `@keyframes` at-rule. It implements the interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).
(append-rule this & args)
Method.
Inserts a new keyframe rule into the current CSSKeyframesRule. parameter is a DOMString containing a keyframe in the same format an entry of a @keyframes at-rule. If it contains more than one rule, a DOMException with a SYNTAX_ERR is thrown.
Method. Inserts a new keyframe rule into the current CSSKeyframesRule. parameter is a DOMString containing a keyframe in the same format an entry of a @keyframes at-rule. If it contains more than one rule, a DOMException with a SYNTAX_ERR is thrown.
(css-rules this)
Property.
Returns a CSSRuleList of the CSS rules in the media rule.
Property. Returns a CSSRuleList of the CSS rules in the media rule.
(delete-rule this & args)
Method.
Deletes a keyframe rule from the current CSSKeyframesRule. The is the index of the keyframe to be deleted, expressed as a DOMString as a number between 0% and 100%.
Method. Deletes a keyframe rule from the current CSSKeyframesRule. The is the index of the keyframe to be deleted, expressed as a DOMString as a number between 0% and 100%.
(find-rule this & args)
Method.
Returns a keyframe rule corresponding to the given key. The key a DOMString containing an index of the keyframe to be returned, to a percentage between 0% and 100%. If no such keyframe exists, returns null.
Method. Returns a keyframe rule corresponding to the given key. The key a DOMString containing an index of the keyframe to be returned, to a percentage between 0% and 100%. If no such keyframe exists, returns null.
(name this)
Property.
Represents the name of the animation, used by the animation-name
Property. Represents the name of the animation, used by the animation-name
(set-css-rules! this val)
Property.
Returns a CSSRuleList of the CSS rules in the media rule.
Property. Returns a CSSRuleList of the CSS rules in the media rule.
(set-name! this val)
Property.
Represents the name of the animation, used by the animation-name
Property. Represents the name of the animation, used by the animation-name
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close