trustAsHtml(value);
Shorthand method. $sce.trustAsHtml(value)
â $sceDelegate.trustAs($sce.HTML, value)
Parameters
Param | Type | Details |
---|---|---|
value | * | The value to trustAs. |
Returns
* |
An object that can be passed to $sce.getTrustedHtml(value) to obtain the original value. (privileged directives only accept expressions that are either literal constants or are the return value of $sce.trustAs.) |
Please login to continue.