Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
niceguyneil
on Jan 13, 2014
|
parent
|
context
|
favorite
| on:
CountUp.js
Suggestion: allow passing in target as a DOMElement, rather than by id. That makes this more useful when template rendering in done off-DOM, or when IDs aren't used.
zackbloom
on Jan 13, 2014
[–]
If it's an object treat it as a dom node, if it's a string, run it through document.querySelector.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: