Closed srhise closed 12 years ago
Pardon the late reply. You would achieve the above like this:
// Your array:
var list = ['item 1', 'item 2', 'item 3'];
// Get the DOM target you intend to put the textualizer in
var txtlizer = $('#container');
// Pass in the array to the textualizer instance
txtlizer.textualizer(list);
// Start
txtlizer.textualizer('start');
Hope this helps.
Let me know if you have any other questions.
Pardon my question if it seems straightforward, but I've populated an array of strings (no keys) and I would like to pass that in as the list. How would I accomplish that?