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 Type
    Method
    Description
    call(Object context, Object cb)
    Invokes the callable InterpolationFunction contract.
    Original interpolation text.
    elemental2.core.JsArray<String>
    Expressions extracted from the interpolation text.
    void
    Original interpolation text.
    void
    setExpressions(elemental2.core.JsArray<String> expressions)
    Expressions extracted from the interpolation text.
  • Method Details

    • call

      Object call(Object context, Object cb)
      Invokes the callable InterpolationFunction contract.
      Parameters:
      context - The scope/context
      cb - Optional callback when expressions change
      Returns:
      Method result.
    • getExp

      @JsProperty String getExp()
      Original interpolation text.
    • getExpressions

      @JsProperty elemental2.core.JsArray<String> getExpressions()
      Expressions extracted from the interpolation text.
    • setExp

      @JsProperty void setExp(String exp)
      Original interpolation text.
    • setExpressions

      @JsProperty void setExpressions(elemental2.core.JsArray<String> expressions)
      Expressions extracted from the interpolation text.