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
There are a few instances where this may be required.
Take the example of the following model:
var model = { jobIds = [ 12, 54, 102, 297 ] }
Then the view:
<ul class="bindto-jobIds"> <li data-bind_each></li> </ul>
That works fine. Now, what if you want to use an a inside the li with an href. You would need to reference the current value in a variable:
a
li
href
<ul class="bindto-jobIds"> <li data-bind_each> <a href="/jobs/${.}">Run ${.}</a> </li> </ul>
The innerHTML variable (the "Run ${.}") actually works - through I don't think through design - but the attribute variable is not processed.
Making the dot syntax an intentional feature for all cases would be quite useful.
The text was updated successfully, but these errors were encountered:
This is fixed in the latest release
Sorry, something went wrong.
chrismichaelscott
No branches or pull requests
There are a few instances where this may be required.
Take the example of the following model:
Then the view:
That works fine. Now, what if you want to use an
a
inside theli
with anhref
. You would need to reference the current value in a variable:The innerHTML variable (the "Run ${.}") actually works - through I don't think through design - but the attribute variable is not processed.
Making the dot syntax an intentional feature for all cases would be quite useful.
The text was updated successfully, but these errors were encountered: