Open dariuszparys opened 11 years ago
Hi Dariusz, why are you using 'textContent:' at all? just write 'text:' instead, and I think it will do, what you want. Br, Matthias
I know that I can use text instead, but textContent is a valid and legitime way to set the content of an HTMLElement. I mean basically it works, but the created element attribute on the rendered node could cause conflicts suppose that someone uses exactly textcontent as attribute name on the element for a total different purpose.
Not sure if I understand the concept of directives right, here is what I want to do:
I would not expect textcontent as attribute in the output. Can anyone comment on this?