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'm evaluating agility and have a couple questions:
<nav data-bind="menus" data-bind="id=name" /> <!-- OR... --> <nav data-bind="menus id=name" />
var nav = $$({ model: {name: '', menus: []}, view: $("#tpl-nav").html() });
The text was updated successfully, but these errors were encountered:
How to bind multiple properties to a single DOM element?
The second one should work if you use a comma as seperator:
<nav data-bind="menus, id=name" />
See also #63
How to handle properties that are arrays?
The only way I know is to iterate throug the array, for example by a controller method. If someone knows a better option I would appreciate it ;-)
Sorry, something went wrong.
No branches or pull requests
I'm evaluating agility and have a couple questions:
The text was updated successfully, but these errors were encountered: