Interface RealtimeProtocolMessage


@JsType(isNative=true, name="ng.RealtimeProtocolMessage", namespace="<global>") public interface RealtimeProtocolMessage
Public AngularTS RealtimeProtocolMessage contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Plain value used as swap content when `html` is omitted.
    HTML or text payload to apply with the configured swap mode.
    Optional swap mode that overrides the directive swap mode for this message.
    Optional CSS selector that overrides the directive target for this message.
    void
    Plain value used as swap content when `html` is omitted.
    void
    HTML or text payload to apply with the configured swap mode.
    void
    Optional swap mode that overrides the directive swap mode for this message.
    void
    setTarget(String target)
    Optional CSS selector that overrides the directive target for this message.
  • Method Details

    • create

      @JsOverlay static RealtimeProtocolMessage create()
    • getData

      @JsProperty Object getData()
      Plain value used as swap content when `html` is omitted.
    • getHtml

      @JsProperty Object getHtml()
      HTML or text payload to apply with the configured swap mode.
    • getSwap

      @JsProperty String getSwap()
      Optional swap mode that overrides the directive swap mode for this message.
    • getTarget

      @JsProperty String getTarget()
      Optional CSS selector that overrides the directive target for this message.
    • setData

      @JsProperty void setData(Object data)
      Plain value used as swap content when `html` is omitted.
    • setHtml

      @JsProperty void setHtml(Object html)
      HTML or text payload to apply with the configured swap mode.
    • setSwap

      @JsProperty void setSwap(String swap)
      Optional swap mode that overrides the directive swap mode for this message.
    • setTarget

      @JsProperty void setTarget(String target)
      Optional CSS selector that overrides the directive target for this message.