File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -116,20 +116,16 @@ dictionary AnimationPlaybackEventInit : EventInit {
116
116
117
117
[Exposed=Window]
118
118
interface AnimationTrigger {
119
- readonly attribute AnimationTriggerBehavior behavior;
119
+ constructor(optional AnimationTriggerOptions options = {});
120
+ attribute AnimationTimeline timeline;
121
+ attribute AnimationTriggerBehavior behavior;
122
+ attribute any rangeStart;
123
+ attribute any rangeEnd;
124
+ attribute any exitRangeStart;
125
+ attribute any exitRangeEnd;
120
126
};
121
127
122
- [Exposed=Window]
123
- interface TimelineTrigger : AnimationTrigger {
124
- constructor(optional TimelineTriggerOptions options = {});
125
- readonly attribute AnimationTimeline timeline;
126
- readonly attribute any rangeStart;
127
- readonly attribute any rangeEnd;
128
- readonly attribute any exitRangeStart;
129
- readonly attribute any exitRangeEnd;
130
- };
131
-
132
- dictionary TimelineTriggerOptions {
128
+ dictionary AnimationTriggerOptions {
133
129
AnimationTimeline? timeline;
134
130
AnimationTriggerBehavior? behavior = "once";
135
131
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
You can’t perform that action at this time.
0 commit comments