tko icon indicating copy to clipboard operation
tko copied to clipboard

Support open shadowdoms

Open jogibear9988 opened this issue 7 years ago • 4 comments

support datacontext in open shadowdoms (https://blog.revillweb.com/open-vs-closed-shadow-dom-9f3d7427d1af)

jogibear9988 avatar Nov 28 '17 23:11 jogibear9988

Maybe we should set an attribute or property at the custom element, to tell knockout that it should bind also to the shadowdom!

jogibear9988 avatar Dec 01 '17 15:12 jogibear9988

Yeah I’m mulling where this dynamism should happen.

brianmhunt avatar Dec 01 '17 23:12 brianmhunt

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...

jogibear9988 avatar Dec 02 '17 11:12 jogibear9988

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

jogibear9988 avatar Dec 04 '17 22:12 jogibear9988