Using innerHTML instead of textContent has the same problem. I've worked around the issue by putting a span inside the tabs to change the content of. I realize that I could avoid all this by using data-binding, but its really overkill for simple cases. Is triggering the PaperRippleBehavior on content change the desired behavior? Does it somehow focus the element?
Changing the
textContent
of apaper-tab
triggers the paper-ripple animation but throws an error seemingly because the context is incorrect:triggered by
Using
innerHTML
instead oftextContent
has the same problem. I've worked around the issue by putting a span inside the tabs to change the content of. I realize that I could avoid all this by using data-binding, but its really overkill for simple cases. Is triggering the PaperRippleBehavior on content change the desired behavior? Does it somehow focus the element?