File

src/app/services/sanitizer/sanitizer.service.ts

Description

A Sanitizer service.

Index

Methods

Constructor

constructor(sanitizer: DomSanitizer)

Constructs the Sanitizer service. ~constructor

Parameters :
Name Type Optional Description
sanitizer DomSanitizer No

The DOM sanitizer injected dependency.

Methods

Public sanitizeSecurityTrustUrl
sanitizeSecurityTrustUrl(value: string)

DOM sanitizer delegate.

Parameters :
Name Type Optional Description
value string No

The uri to sanitize.

Returns : SafeUrl

The sanitized uri.

results matching ""

    No results matching ""