Credit to devdocs.io

angular 2.0_typescript

angular

Sanitizer

Stable Class

Class Overview

class Sanitizer {
  sanitize(context: SecurityContext, value: string) : string
}

Class Description

Sanitizer is used by the views to sanitize potentially dangerous values.

Class Details

sanitize(context: SecurityContext, value: string) : string

exported from @angular/core/index, defined in @angular/core/src/security.ts

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/Sanitizer-class.html