DomSanitizer
DomSanitizer
Stable Security Risk Class
Security Risk
Calling any of the bypassSecurityTrust...
APIs disables Angular's built-in sanitization for the value passed in. Carefully check and audit all values and code paths going into this call. Make sure any user data is appropriately escaped for this security context. For more detail, see the Security Guide.
Class Overview
class DomSanitizer implements Sanitizer { sanitize(context: SecurityContext, value: any) : string bypassSecurityTrustHtml(value: str