# b-blocks/2.0.39/build/news-ticker/view.js

bBlocks – Essential Gutenberg Blocks &amp; Patterns Collection, version 2.0.39. 1 lines.

- Page: https://pluginprobe.com/plugins/b-blocks/2.0.39/code/build/news-ticker/view.js
- Raw: https://pluginprobe.com/plugins/b-blocks/2.0.39/raw/build/news-ticker/view.js
- Modified: 2026-04-27T12:46:42+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/b-blocks/2.0.39/code/build/news-ticker/view.js#L10-L20`.

```javascript
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".wp-block-b-blocks-news-ticker").forEach((function(e){const t=e.dataset.speed||50,n=e.querySelector(".news-ticker-items");if(n){n.style.setProperty("--ticker-speed",t+"s");const e=n.cloneNode(!0);n.parentNode.appendChild(e)}}))}))})();
```
