# blockspare/5.0.1/dist/block_animation_script.js

BlockSpare – Gutenberg Blocks, AI Content Generator &amp; Site Builder for News, Magazine &amp; Blogs, version 5.0.1. 1 lines.

- Page: https://pluginprobe.com/plugins/blockspare/5.0.1/code/dist/block_animation_script.js
- Raw: https://pluginprobe.com/plugins/blockspare/5.0.1/raw/dist/block_animation_script.js
- Modified: 2026-09-24T12:18:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/blockspare/5.0.1/code/dist/block_animation_script.js#L10-L20`.

```javascript
(()=>{const e=document.querySelectorAll(".blockspare-block-animation");if("IntersectionObserver"in window){const t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add(e.target.getAttribute("blockspare-animation")),t.unobserve(e.target))})},{threshold:[.15]});e.forEach(e=>{t.observe(e)})}else e.forEach(e=>{e.classList.remove("blockspare-block-animation"),e.classList.removeAttribute("blockspare-animation")})})();
```
