Sanitizer
class
npm Package | @angular/core |
---|---|
Module | import { Sanitizer } from '@angular/core'; |
Source | core/src/security.ts |
Overview
class Sanitizer { sanitize(context: SecurityContext, value: {}|string|null): string|null }
Description
Sanitizer is used by the views to sanitize potentially dangerous values.
Subclasses
-
DomSanitizer
Members
sanitize(context: SecurityContext, value: {}|string|null): string|null
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/Sanitizer