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 not able to reproduce properly the binding example. When I try to use some custom name other than id, it doesn't set the attributes.
id
<app-router mode="hash"> <app-route path="/binding/:id" element="page-test"></app-route> <app-route path="/notbinding/:orderId" element="page-test"></app-route> </app-router>
window.onload = function() { document.registerElement('page-test', { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function() { console.log(this, this.attributes); } } }) }); document.querySelector("app-router").init(); };
When I open #/binding/25 it set the id attribute, but when I open #/notworking/25, it doesn't set the orderId attribute.
#/binding/25
#/notworking/25
orderId
The text was updated successfully, but these errors were encountered:
Fix erikringsmuth#163: binding with custom names
2450a99
Why using notbinding in markup and notworking url?
notbinding
notworking
Sorry, something went wrong.
A typo
No branches or pull requests
I'm not able to reproduce properly the binding example. When I try to use some custom name other than
id
, it doesn't set the attributes.When I open
#/binding/25
it set theid
attribute, but when I open#/notworking/25
, it doesn't set theorderId
attribute.The text was updated successfully, but these errors were encountered: