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
I am trying to pass example from wiki on clean data binding. Have this code:
var html = "<p data-bind='para'></p><input type='text' data-bind-value='name' data-bind-placeholder='placeholder'/>"; var data = { "name": "Frank", "placeholder": "Some dude", "para": "Some Paragraph" }; var output = Plates.bind(html, data);
And I have this in browser:
<body> <p data-bind="para">Some Paragraph</p> <input type="text" data-bind-value="name" data-bind-placeholder="placeholder">Frank <input type="text" data-bind-value="name" data-bind-placeholder="placeholder">Some dude </body>
I supposed that bound values should be just replaced. But have got something another.
I cannot get what I am doing wrong..
The text was updated successfully, but these errors were encountered:
What is the output you are expecting?
Sorry, something went wrong.
No branches or pull requests
I am trying to pass example from wiki on clean data binding.
Have this code:
And I have this in browser:
I supposed that bound values should be just replaced.
But have got something another.
I cannot get what I am doing wrong..
The text was updated successfully, but these errors were encountered: