Package org.angular.ts.ng
Interface InterpolationFunction
@JsType(isNative=true,
name="ng.InterpolationFunction",
namespace="<global>")
public interface InterpolationFunction
Public AngularTS InterpolationFunction contract exposed through the global ng namespace for Closure-annotated applications.
-
Method Summary
Modifier and TypeMethodDescriptionInvokes the callable InterpolationFunction contract.getExp()Original interpolation text.elemental2.core.JsArray<String> Expressions extracted from the interpolation text.voidOriginal interpolation text.voidsetExpressions(elemental2.core.JsArray<String> expressions) Expressions extracted from the interpolation text.
-
Method Details
-
call
Invokes the callable InterpolationFunction contract.- Parameters:
context- The scope/contextcb- Optional callback when expressions change- Returns:
- Method result.
-
getExp
Original interpolation text. -
getExpressions
Expressions extracted from the interpolation text. -
setExp
Original interpolation text. -
setExpressions
Expressions extracted from the interpolation text.
-