MCPcopy Index your code
hub / github.com/angular/angular / getElementHtml

Function getElementHtml

packages/core/test/acceptance/content_spec.ts:36–40  ·  view source on GitHub ↗
(element: HTMLElement)

Source from the content-addressed store, hash-verified

34 });
35 });
36 function getElementHtml(element: HTMLElement) {
37 return element.innerHTML
38 .replace(/<!--(\W|\w)*?-->/g, '')
39 .replace(/\sng-reflect-\S*="[^"]*"/g, '');
40 }
41
42 it('should project content', () => {
43 @Component({

Callers 1

content_spec.tsFile · 0.70

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…