getTrusted(type, maybeTrusted);
Delegates to $sceDelegate.getTrusted
. As such, takes the result of a $sce.trustAs
() call and returns the originally supplied value if the queried context type is a supertype of the created type. If this condition isn't satisfied, throws an exception.
Parameters
Param | Type | Details |
---|---|---|
type | string | The kind of context in which this value is to be used. |
maybeTrusted | * | The result of a prior |
Returns
* |
The value the was originally provided to |
Please login to continue.