0.9.0 • Published 7 years ago
scroll-to-select v0.9.0
scroll-to-select puts a selector beam on a web page, and lights up elements with ids you provide.
HTML:
<div id="one">ONE</div>
<div id="two">TWO</div>
<div id="three">THREE</div>
Javascript:
scrollToSelect({
ids: ["one", "two", "three"],
onSelect: function(oneTwoOrThree) {
// do your worst
},
text: "HIEEE"
})