el is not a selector
stratboy opened this issue · 1 comments
stratboy commented
Hi, not really a bug, but a 'bug' on your docs: the el option is not a selector. It's a dom element. You call setAttribute directly to it, so we in fact cannot pass a selector. So you can update your docs, or use querySelector to get the element and check it befor calling functions on it.
yowainwright commented
@stratboy thanks for your feedback. Would you like to submit a PR?