erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
610 stars 83 forks source link

Data binding with webcomponents #128

Open jmalonzo opened 9 years ago

jmalonzo commented 9 years ago

Hi Erik,

Is it possible to do data binding with just webcomponents? I looked at the documentation and it's not clear if it's possible. Any help is appreciated.

Thanks!

jmalonzo commented 9 years ago

I think for webcomponents, this is only possible if the route is a custom element. The path args would then be accessible via a prop in the custom element object.

I'll keep this open as I think it probably needs a mention in the documentation.

itsMattShull commented 7 years ago

I too am wondering this. I'm trying to get data-binding and routing to work with web components.

jmalonzo commented 7 years ago

@derekshull Do you have a jsbin somewhere I can look at? I might be able to help