-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
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
i-bem__dom: add shortcut for this.elem(elemName, boolModName, true)
as this.elem(elemName, boolModName)
#892
Comments
That's strange because better to find all elems with name |
@zxqfox I disagree with you. We've already have the same behaviour for |
@dfilatov Wait, but if you looking for boolean mod then you won't check it's value, right? |
@zxqfox I'll check that value === true. |
@dfilatov I just want to understand what's the difference. I don't see a big difference between checking for true, and just existing. But still if you want to say that |
Btw, checking for mod existence will totally cover searching of boolean mods but still will be useful for non-boolean mods. Reverse is not true. |
@zxqfox |
@dfilatov Actually, nope. But if you insist — I'll try to apply it for myself as clear. It will be hard but I'll try. About searching by css selectors: Am I right that we loading all dom elements with |
Stupid idea. We can add both classes for modifiers if you insist on using css selectors: |
@zxqfox Don't get me wrong, I don't insist, but It's a current behaviour for
|
@dfilatov Still that's not clear to get only items with boolean mods by |
I think Just thoughts. |
i-bem__dom: add shortcut for `this.elem(elemName, boolModName, true)` as `this.elem(elemName, boolModName)` (close #892)
find*: make modVal optional (close #892)
No description provided.
The text was updated successfully, but these errors were encountered: