Scroll-Driven Animations Debugger

A DevTools extension to visualize and debug Scroll-Driven Animations

什么是Scroll-Driven Animations Debugger?

Scroll-Driven Animations Debugger是由Bramus Van Damme开发的Chrome扩展程序,该扩展的主要功能是“A DevTools extension to visualize and debug Scroll-Driven Animations”。

扩展截图

下载Scroll-Driven Animations Debugger扩展crx文件

下载Scroll-Driven Animations Debugger扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.                    

扩展基本信息

名称 Scroll-Driven Animations Debugger Scroll-Driven Animations Debugger
ID ojihehfngalmpghicjgbfdmloiifhoce
官方URL https://chromewebstore.google.com/detail/scroll-driven-animations/ojihehfngalmpghicjgbfdmloiifhoce
简介 A DevTools extension to visualize and debug Scroll-Driven Animations
文件大小 83.98 KB
安装次数 1,370
当前版本 1.0.1
更新时间 2023-10-05
上架时间 2023-09-12
评分 5.00/5 共5次评分
开发者 Bramus Van Damme
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/bramus/scroll-driven-animations-debugger-extension/
帮助页面URL https://github.com/bramus/scroll-driven-animations-debugger-extension/issues
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Scroll-Driven Animations Debugger",
    "action": [],
    "manifest_version": 3,
    "version": "1.0.1",
    "description": "A DevTools extension to visualize and debug Scroll-Driven Animations",
    "permissions": [],
    "icons": {
        "48": "images\/icon-48.png",
        "64": "images\/icon-64.png",
        "128": "images\/icon-128.png",
        "256": "images\/icon-256.png",
        "512": "images\/icon-512.png"
    },
    "devtools_page": "devtools.html",
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*\/*"
            ],
            "js": [
                "content.js"
            ]
        }
    ]
}