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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/Sanitizer-class.html