erikringsmuth / app-router

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

adding an observer #168

Open chisholmd opened 7 years ago

chisholmd commented 7 years ago

if I have < mycustom-element attribute=[[prop]] > then I can set an observer on 'prop'. But what if I am loading the element via app router like this: < app-route path="/path" element="mycustom-element" >< /app-route > ?

How can I set an observer on the properties of the that element?