setWrapper - xurion/acronymizer.js GitHub Wiki

Sets the type of element that will wrap the matched text pattern.

Acronymizer.setWrapper(wrapper)

Parameters

wrapper
String. The type of element wrapper.

Example

var acron = new Acronymizer();
acron.setWrapper('a');
⚠️ **GitHub.com Fallback** ⚠️