PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / icon-box / frontend.js

frontend.js in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/icon-box/frontend.js

22 lines 617 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (function () {
2 // Icon Box is CSS-driven — no JS required for basic functionality.
3 // This stub exists to allow future enhancements (e.g. scroll-reveal, tilt effects).
4 function initIconBox(wrap) {
5 // Reserved for future interactivity.
6 void wrap;
7 }
8
9 function init() {
10 var wraps = document.querySelectorAll('.bkbg-ib-wrap');
11 for (var i = 0; i < wraps.length; i++) {
12 initIconBox(wraps[i]);
13 }
14 }
15
16 if (document.readyState === 'loading') {
17 document.addEventListener('DOMContentLoaded', init);
18 } else {
19 init();
20 }
21 })();
22