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

Function getSanitizer

packages/core/src/sanitization/sanitization.ts:271–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269}
270
271function getSanitizer(): Sanitizer | null {
272 const lView = getLView();
273 return lView && lView[ENVIRONMENT].sanitizer;
274}
275
276/**
277 * Set of attributes that are sensitive and should be sanitized.

Callers 5

ɵɵsanitizeHtmlFunction · 0.85
ɵɵsanitizeStyleFunction · 0.85
ɵɵsanitizeUrlFunction · 0.85
ɵɵsanitizeResourceUrlFunction · 0.85
ɵɵsanitizeScriptFunction · 0.85

Calls 1

getLViewFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…