توضیحات
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
- Edit any post or page with the WordPress editor
- Select any block
- In the block settings sidebar, look for the “Scroll Animation” panel
- 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:
- Clone the repository
- Run
npm install - Run
npm run startfor development - Run
npm run buildfor production build
Requirements
- WordPress 5.0 or higher
- Modern web browser with Intersection Observer API support
License
GPL v3 or later
Author
Simply Dev
نصب
- Download the plugin zip file
- Go to WordPress admin > Plugins > Add New
- Click “Upload Plugin” and select the downloaded zip file
- Click “Install Now” and then “Activate”
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Scroll Animations for Blocks” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Scroll Animations for Blocks” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.