# blockenberg/2.0.12/blocks/feature-showcase/frontend.js

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

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.12/code/blocks/feature-showcase/frontend.js
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.12/raw/blocks/feature-showcase/frontend.js
- Modified: 2026-08-23T11:58:34+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.12/code/blocks/feature-showcase/frontend.js#L10-L20`.

```javascript
wp.domReady(function () {
    document.querySelectorAll('.bkbg-fsc-wrapper').forEach(function (wrapper) {
        var rows = wrapper.querySelectorAll('.bkbg-fsc-row.bkbg-fsc-anim');
        if (!rows.length) return;

        var io = new IntersectionObserver(function (entries) {
            entries.forEach(function (entry, idx) {
                if (entry.isIntersecting) {
                    setTimeout(function () {
                        entry.target.classList.add('bkbg-fsc-visible');
                    }, idx * 120);
                    io.unobserve(entry.target);
                }
            });
        }, { threshold: 0.12 });

        rows.forEach(function (row) { io.observe(row); });
    });
});

```
