# blockenberg/2.0.14/assets/js/motion.js

Blockenberg — 600+ Advanced Gutenberg Blocks &amp; AI Agent for WordPress Block Editor, version 2.0.14. 10 lines.

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.14/code/assets/js/motion.js
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.14/raw/assets/js/motion.js
- Modified: 2026-10-11T14:39:22+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/blockenberg/2.0.14/code/assets/js/motion.js#L10-L20`.

```javascript
(function(){
    'use strict';
    function boot(){
        if(window.matchMedia('(prefers-reduced-motion: reduce)').matches||!('IntersectionObserver' in window))return;
        var observer=new IntersectionObserver(function(entries){entries.forEach(function(e){if(e.isIntersecting){e.target.classList.remove('bkbg-motion-pending');if(e.target.dataset.bkbgOnce!=='0')observer.unobserve(e.target);}else if(e.target.dataset.bkbgOnce==='0')e.target.classList.add('bkbg-motion-pending');});},{threshold:0.08});
        document.querySelectorAll('[data-bkbg-entrance]').forEach(function(e){e.classList.add('bkbg-motion-ready','bkbg-motion-pending');observer.observe(e);});
    }
    if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',boot,{once:true});else boot();
})();

```
