tko
tko copied to clipboard
Support open shadowdoms
support datacontext in open shadowdoms (https://blog.revillweb.com/open-vs-closed-shadow-dom-9f3d7427d1af)
Maybe we should set an attribute or property at the custom element, to tell knockout that it should bind also to the shadowdom!
Yeah I’m mulling where this dynamism should happen.
at the moment, i create a propery on each component i write, wich i bind to $data! and if the property changes, i rebind the shadowdom! but I don‘t like that, cause I‘ve to do that in each component...
It would also be cool if you could include these https://github.com/knockout/knockout/issues/2144 and https://github.com/knockout/knockout/issues/2144 somehow in tko