描述
This plugin allows you to use the vivus.js animation library and the intersection observer API to animate an SVG as it enters the viewport. Use a path with a stroke color and width and no fill. NOTE: SVG support is added by this plugin. The plugin checks for the existence of popular SVG support plugins, and if not present, adds SVG support in a secure manner.
Blocks
This plugin provides 1 block.
- Animated SVG Block
安裝
- Upload the plugin files to the
/wp-content/plugins/animated-svg-block
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the block in the Gutenberg editor to add SVG images to your posts and pages.
常見問題
-
How do I use this plugin?
-
You can add SVG images using the Animated SVG Block in the Gutenberg editor. This plugin assumes you have some ability to hand-code an SVG to make sure that the SVG you choose uses a stroked path that has a stroke-width property in a color of your choice.
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.01
- Initial release.