Is there a way to delete properties of DOM elements? I'm using a widget that upon rendering itself adds tabindex
attributes to certain nodes. I'd like to remove them because they cause unwanted visual changes.
I tried the following which does not seem to have any effect (tabindex
stays the same):
delete domNode.tabIndex;
domNode.tabIndex = undefined;