Skip to content

Commit 1677956

Browse files
committed
enter -> entry
1 parent 07ad4bb commit 1677956

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scroll-animations-1/EXPLAINER.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ const animation = image.animate(
238238
fill: 'both',
239239
// The animation starts at the offset that corresponds with image starting
240240
// to enter scrollport (i.e., 0% intersect with scroller at its “end” edge).
241-
rangeStart: 'enter 0%',
241+
rangeStart: 'entry 0%',
242242
// The animation ends at the offset that corresponds with image becoming
243243
// fully visible (i.e., 100% intersect with scroller at its “end” edge).
244-
rangeEnd: 'enter 100%'
244+
rangeEnd: 'entry 100%'
245245
}
246246
);
247247
```
@@ -294,8 +294,8 @@ the ViewTimeline API.
294294
{transform: 'translateX(-10px)', opacity: 0},
295295
{transform: 'none', opacity: 1}],
296296
{
297-
rangeStart: 'enter 0%',
298-
rangeEnd: 'enter 100%',
297+
rangeStart: 'entry 0%',
298+
rangeEnd: 'entry 100%',
299299
fill: 'both',
300300
timeline: new ViewTimeline({subject: headers[i]})
301301
}

0 commit comments

Comments
 (0)