dbind
dbind copied to clipboard
element.innerText not supported in Firefox
Currently Firefox does not support the innerText property for DOM elements. dbind is using it in "ElementBinding.prototype.is" to set the value on the bound element. Could it use innerHTML instead of innerText for cross browser compatibility?
Thanks!
By the way, I'm testing on Firefox 35.0.1 for Linux.
@luis-eduardo I would assume textContent is actually a better option?
I agree, textContent is better.