We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc3f631 commit 48e6479Copy full SHA for 48e6479
libs/core/src/lib/renderer/state.ts
@@ -40,7 +40,7 @@ export function createNode(type: NgtRendererState[NgtRendererClassId.type], node
40
if (!('getAttribute' in rendererNode) || typeof rendererNode['getAttribute'] !== 'function') {
41
const nodeGetAttribute = (name: string) => rendererNode[name];
42
nodeGetAttribute['__ngt_renderer__'] = true;
43
- Object.defineProperty(rendererNode, 'getAttribute', { value: nodeGetAttribute });
+ Object.defineProperty(rendererNode, 'getAttribute', { value: nodeGetAttribute, configurable: true });
44
}
45
46
return rendererNode;
0 commit comments