Sanitizer is used by the views to sanitize potentially dangerous values.
API
abstract class Sanitizer {
abstract sanitize(context: SecurityContext, value: string | {} | null): string | null;
}
sanitize
string | nullSanitizer is used by the views to sanitize potentially dangerous values.
abstract class Sanitizer {
abstract sanitize(context: SecurityContext, value: string | {} | null): string | null;
}
string | null
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/Sanitizer