MCPcopy
hub / github.com/angular/angular / hasAttribute

Method hasAttribute

packages/core/src/render3/interfaces/renderer_dom.ts:78–78  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

76 tagName: string;
77 textContent: string | null;
78 hasAttribute(name: string): boolean;
79 getAttribute(name: string): string | null;
80 setAttribute(name: string, value: string | TrustedHTML | TrustedScript | TrustedScriptURL): void;
81 removeAttribute(name: string): void;

Calls

no outgoing calls

Tested by 1