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
this.mods
this.ctx.mods
use
mods : vBlock? this.ctx.mods || (this.ctx.mods = {}) : this.mods
in i-bem.bemhtml
i-bem.bemhtml
This will allow us to change mods object within default mod so this changes will reflect node's HTML-classes:
mods
default
block('b1')( default()(function() { this.mods.a = 'b'; applyNext(); }), mod('a', 'b')(function() { return 'beep' }) ) // <div class="b1 b1_a_b">beep</div>
The text was updated successfully, but these errors were encountered:
Merge pull request #446 from /issues/441@v2
bd6e026
Use the same object for this.mods and this.ctx.mods within default mode
No branches or pull requests
use
in
i-bem.bemhtml
This will allow us to change
mods
object withindefault
mod so this changes will reflect node's HTML-classes:The text was updated successfully, but these errors were encountered: