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

setAttributes

xurion edited this page Feb 24, 2013 · 1 revision

Sets multiple attributes that will be attached to the wrapping element. To a single attribute, see the setAttribute function.

Acronymizer.setAttributes(attributes)

Parameters

attributes
Object. Key value pairs of attributes.

Example

var acron = new Acronymizer();
acron.setAttributes({
    href: 'http://www.github.com',
    target: '_blank'
});

Clone this wiki locally