Skip to content
This repository was archived by the owner on Apr 5, 2020. It is now read-only.

setElement

xurion edited this page Feb 24, 2013 · 2 revisions

Sets the element within which to wrap matched string patterns.

Acronymizer.setElement(element)

Parameters

element
Object (Element). The element within which the wrapping will take place. Must be an element.

Example

var acron = new Acronymizer();
acron.setElement(document.getElementById('myDiv'));

Clone this wiki locally