跳到内容

Scroll Animations for Blocks

v1.0.0

simplydev · 2025年4月15日 上架

Scroll Animations for Blocks A lightweight WordPress plugin that adds scroll animations to all Gutenberg blocks.

正在使用
20+
评分
暂无
累计下载
795
最近更新
2025年4月16日
需要 WordPress 6.0+已测试到 6.7.12PHP 7.4+

贡献者

Scroll Animations for Gutenberg allows you to add smooth scroll animations to any block in the WordPress editor. Each block can be configured with its own animation settings, including threshold, duration, and delay.

Features

  • Add scroll animations to any Gutenberg block
  • Customizable animation settings per block:
    • Enable/disable animation
    • Threshold (when the animation triggers)
    • Duration (how long the animation lasts)
    • Delay (when the animation starts)
  • Lightweight and performance optimized
  • Uses Intersection Observer API for smooth performance

Usage

  1. Edit any post or page with the WordPress editor
  2. Select any block
  3. In the block settings sidebar, look for the “Scroll Animation” panel
  4. Enable the animation and adjust the settings as needed:
    • Threshold: When the block should start animating (0-1)
    • Duration: How long the animation should last (0-5000ms)
    • Delay: When the animation should start (0-5000ms)

Development

This plugin uses @wordpress/scripts for development. To get started:

  1. Clone the repository
  2. Run npm install
  3. Run npm run start for development
  4. Run npm run build for production build

Requirements

  • WordPress 5.0 or higher
  • Modern web browser with Intersection Observer API support

License

GPL v3 or later

Author

Simply Dev

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums