-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
Data binding using Javascript #3420
Comments
Hey @stefanoantonel, looks like this might be a duplicate of #1796 and #2638? Those discussions might give you an idea of where imperative data binding is at. |
@bedeoverend agreed, seems like a dupe of #1796 or #2368, which need to be deduped together at some point. |
I proposed #3460. I used something like this and if I did not messed up the PR this enables something like this:
|
@kaste Thank you for your proposal ! |
Unfortunately the Holy Grail does not answer. 😯 stefanoantonel [email protected] schrieb am Di., 1. März 2016
|
Hi guys!!!
I'm trying to create an instance of service-detail element with javascript inside service-section element.
I've already imported service-detail in elements.html.
For example:
In service-section element:
The problem is that if the property lang in service-section changes, this change is not propagated to the service-detail element.
On the other hand, if I use inside the service-section element the tag:
When I change the value of the lang in service-section it also change in the service-detail . (As it's suppose to work).
Now the question is, How can I do to bind properties using Javascript and creating the elements dynamically?
Thank you everyone for do the best!
The text was updated successfully, but these errors were encountered: