概述
A DevTools extension to visualize and debug Scroll-Driven Animations
Use this DevTools extension to debug and visualize Scroll-Driven Animations. - Visualize the Scroll-Driven Animations’s scroller, element, and subject. - Suppports both ScrollTimeline and ViewTimeline. - Works with both CSS-based and WAAPI-based Scroll-Driven Animations. - Plays nice with `position: sticky`. - Visualize the `animation-range-start` and `animation-range-end`. - Edit the `animation-range-start` and `animation-range-end` values. Once installed, a new pane “Scroll-Driven Animations” gets added to Chrome DevTools’s Elements Panel. To use it, inspect an Element using Chrome DevTools as you’d normally do. Select the “Scroll-Driven Animations” panel to see a visualization of Scroll-Driven Animations that were added to that element. The visualization is a live representation of the scroller, animated element, and – in case of a ViewTimeline – tracked subject: as you scroll in the document, the visualization also updates. Use the top toolbar to switch between multiple animations _(if more than one)_ or to set the visualization’s scale factor. Typically you don’t need to set the scale factor, as the visualization automatically adapts itself to the available space. Also included in the top toolbar are an indicator telling you which type of scroll timeline you are dealing with, and some progress numbers: total scroll progress, effect progress, actual scroll offset _(in pixels)_. Use the “Edit Values” toggle at the bottom to bring up a range editor. Once the editor is shown, the visualization also shows indicators for the start and end range. In case of a ScrollTimeline these are two lines on the scroller’s contents. In case of a ViewTimeline these are two boxes representing the areas for the set `animation-range-*` values. Change the values using the dropdown and/or the inputs. Note that the inputs do not live-update _(for now)_; after changing click somewhere outside the field to update the value.
5 星(5 星制)5 个评分
Google 不会核实评价。 详细了解结果和评价。
详情
- 版本1.0.2
- 上次更新日期2024年5月2日
- 提供方Bramus Van Damme
- 大小85.12KiB
- 语言English
- 开发者
电子邮件通知
bramus@bram.us - 非交易者该开发者尚未将自己标识为交易者。欧盟地区消费者须知:消费者权利可能不适用于您与该开发者达成的合约。
隐私权
该开发者已声明,您的数据:
- 不会因未获批准的用途出售给第三方
- 不会为实现与产品核心功能无关的目的而使用或转移
- 不会为确定信用度或放贷目的而使用或转移
支持
若有任何疑问、建议或问题,请访问开发者的支持网站