On this page
Sanitizer
class
Sanitizer is used by the views to sanitize potentially dangerous values.
abstract class Sanitizer {
  abstract sanitize(context: SecurityContext, value: string | {}): string | null
}
   Subclasses
Provided in
'root'
Methods
| 
         
         sanitize()
          | 
      ||||||
|---|---|---|---|---|---|---|
        
          | 
      
context | 
            SecurityContext | 
            |
value | 
            string | {} | 
            
Returns
string | null
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v12.angular.io/api/core/Sanitizer