Basic Usage With baffle installed, getting started is as simple as calling baffle() with some DOM elements. Those elements can be in the form of a CSS selector, a NodeList, or a single Node. You can also pass an options object. baffle operates on node.textContent, so it will flatten any child elements. It's best used on elements without children. // With a CSS selector let b = baffle('.headline');
![baffle.js](https://cdn-ak-scissors.b.st-hatena.com/image/square/910e562e7c5f8d8060542afdf8bbee16a148f55f/height=288;version=1;width=512/https%3A%2F%2Fcamwiegert.github.io%2Fbaffle%2Fassets%2Fimages%2Fbaffle.js.png)