We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
el
Currently, I cannot pass DOM instances as the el option, which is expecting an identifier.
https://github.com/KingPixil/moon/blob/5133bf21c64eccd4c49ca9b450f7ad558c30c64a/src/instance/methods.js#L151
I think something like this could work:
this.$el = typeof el === 'string' ? document.querySelector(el) : el;
The text was updated successfully, but these errors were encountered:
Should be coming in v0.9.1
Sorry, something went wrong.
2f70afc
allow 'el' to be a DOM element (fixes #34)
b45502f
kbrsh
No branches or pull requests
Currently, I cannot pass DOM instances as the
el
option, which is expecting an identifier.https://github.com/KingPixil/moon/blob/5133bf21c64eccd4c49ca9b450f7ad558c30c64a/src/instance/methods.js#L151
I think something like this could work:
The text was updated successfully, but these errors were encountered: