MCPcopy
hub / github.com/angular/angular / el

Function el

packages/private/testing/src/browser_utils.ts:25–27  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

23}
24
25export function el(html: string): HTMLElement {
26 return <HTMLElement>getContent(createTemplate(html)).firstChild;
27}
28
29function getAttributeMap(element: any): Map<string, string> {
30 const res = new Map<string, string>();

Callers 7

selector_spec.tsFile · 0.90
constructorMethod · 0.90
field_node.spec.tsFile · 0.85

Calls 2

getContentFunction · 0.85
createTemplateFunction · 0.85

Tested by

no test coverage detected