linkSanitizer
npm Package | @angular/core |
---|---|
Module | import { Sanitizer } from '@angular/core'; |
Source | core/src/security.ts |
linkOverview
class Sanitizer {
sanitize(context: SecurityContext, value: {} | string | null): string | null
}
linkDescription
Sanitizer is used by the views to sanitize potentially dangerous values.
linkSubclasses
linkMembers
sanitize(context: SecurityContext, value: {} | string | null): string | null