@elemental/common / Class

LmnBypassDOMSecurityPipe

Decorators:@Pipe
Implements:PipeTransform

It bypasses the security DomSanitizer protections automatically applied by Angular. The bypass level can be specified as a parameter. If no level is provided, the default level is 'html'.

Methods

transform()

implements PipeTransform

No documentation has been provided.

Presentation
transform(value?: string | undefined, type?: LmnBypassDOMSecurityLevel | undefined): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
Parameters
NameTypeDescription
value
string | undefined
type
LmnBypassDOMSecurityLevel | undefined
Returns