$sceDelegate.valueOf()

valueOf(value);

If the passed parameter had been returned by a prior call to $sceDelegate.trustAs, returns the value that had been passed to $sceDelegate.trustAs.

If the passed parameter is not a value that had been returned by $sceDelegate.trustAs, returns it as-is.

Parameters

Param Type Details
value *

The result of a prior $sceDelegate.trustAs call or anything else.

Returns

*

The value that was originally provided to $sceDelegate.trustAs if value is the result of such a call. Otherwise, returns value unchanged.

doc_AngularJS
2016-03-29 16:10:48
Comments
Leave a Comment

Please login to continue.