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
Check this comparison
With jquery this work as expected
<script type="text/javascript"> $(function() { $('.swipe').on('click', function () { $('.bubble', this).toggleClass('hidden'); }); }); </script>
With QuoJS all elements with the specified selector are affected
<script type="text/javascript"> $$(document).ready(function() { $$('.swipe').tap(function() { $$('.bubble', this).toggleClass('hidden'); }); }); </script>
On this elements
<ul> <li class="swipe" id="111">Item 111 <div class="bubble onright red hidden" data-icon="remove" id="aaa">Remove</div> <li class="swipe" id="222">Item 222 <div class="bubble onright red hidden" data-icon="remove" id="bbb">Remove</div> <li class="swipe" id="333">Item 333 <div class="bubble onright red hidden" data-icon="remove" id="ccc">Remove</div> </ul>
The text was updated successfully, but these errors were encountered:
I have the same problem.
lng.dom("article#enbici-providersView li").tap(function(event){ lng.dom('.check', this).show(); });
and every "li" in my "ul" appears with a check :/
Sorry, something went wrong.
Hi jcalonso, I bypass the problem easily using children function, but I report the issue because is kinda weird. ;)
<script type="text/javascript"> $$(document).ready(function() { $$('.swipe').tap(function() { $$(this).children('.bubble').toggleClass('hidden'); }); }); </script>
Hope this help to improve Quo.
Thank you oliverhr, it worked perfect! :)
No branches or pull requests
Check this comparison
With jquery this work as expected
With QuoJS all elements with the specified selector are affected
On this elements
The text was updated successfully, but these errors were encountered: