clu3 / bootstro.js

Tiny JS library using bootstrap's popovers to help guide your users around your website
http://clu3.github.io/bootstro.js/
MIT License
1.33k stars 235 forks source link

Add .items option taking object array #25

Closed bglick closed 11 years ago

bglick commented 11 years ago

Works the same as ajax but without the server call.

This let's users build the setup on the server side and inject it directly into the bootstro.start call like:

bootstro.start('',{items:
   [{selector:'abc',content:'Hello World'},
    {selector:'def',content:'Goodbye World'}
   ]
});
clu3 commented 11 years ago

Thanks alot @bglick

clu3 commented 11 years ago

@vfonic thanks i updated it

jgentes commented 9 years ago

Damn, as it turns out, this update is in bootstro.js but not in bootstro.min.js (as of the latest build Dec 4, 2014).. arrgh.