setPattern - xurion/acronymizer.js GitHub Wiki

Sets the pattern of text which to wrap.

Acronymizer.setPattern(pattern)

Parameters

pattern
String. The pattern of text that will be wrapped.

Example

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