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
First-off: Thank you for a great framework! :)
var $$item = $$( { model: { type: 'document' }, view: { 'format': '<li data-bind="name, class=type">', 'style': '& { background-color: green }' } } );
should result in this HTML :
<li class=".agility_X document" data-bind="name, class=type"></li>
but instead clobbers the .agility_X class and results in :
<li class="document" data-bind="name, class=type"></li>
The text was updated successfully, but these errors were encountered:
I see even more clobbering happening:
var $$item = $$( { model: { button_text: 'submit' }, view: { 'format': '<a data-bind="button_text"><img src="something.png" /></a>' } } );
should result in the HTML :
<a data-bind="button_text"><img src="something.png" />submit</a>
but instead clobbers the child element and results in :
<a data-bind="button_text">submit</a>
Is this intentional? Same for the first issue, is this somehow desirable and I am missing the purpose?
Sorry, something went wrong.
@cdrubin, yes, I believe this second example is intentional. Try moving the data-bind to a <span> inside the <a>.
<span>
<a>
No branches or pull requests
First-off: Thank you for a great framework! :)
should result in this HTML :
but instead clobbers the .agility_X class and results in :
The text was updated successfully, but these errors were encountered: