PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.13
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.13
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 / row / frontend.js

frontend.js in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.13, at blocks/row/frontend.js

30 lines 763 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Row Block Frontend
3 * Handles responsive behavior for rows
4 */
5 (function() {
6 'use strict';
7
8 // Row blocks are primarily CSS-based on the frontend
9 // This file can be extended for future features like:
10 // - Dynamic reordering
11 // - Animation on scroll
12 // - Lazy loading content
13
14 function initRows() {
15 var rows = document.querySelectorAll('.bkbg-row');
16
17 rows.forEach(function(row) {
18 // Add any runtime initialization here
19 row.classList.add('bkbg-row--initialized');
20 });
21 }
22
23 // Initialize on DOM ready
24 if (document.readyState === 'loading') {
25 document.addEventListener('DOMContentLoaded', initRows);
26 } else {
27 initRows();
28 }
29 })();
30