org.apache.tapestry5.services.ajax

## Interface JavaScriptCallback

-     public interface JavaScriptCallback

  A callback used with `AjaxResponseRenderer.addCallback(JavaScriptCallback)`.
  Since:
    5.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run(JavaScriptSupport javascriptSupport)` Perform some work with the support object, which is typically to invoke `JavaScriptSupport.addInitializerCall(String, org.apache.tapestry5.json.JSONObject)` to setup some client-side behavior.

- - ### Method Detail

    - #### run

          void run(JavaScriptSupport javascriptSupport)

      Perform some work with the support object, which is typically to invoke `JavaScriptSupport.addInitializerCall(String, org.apache.tapestry5.json.JSONObject)` to setup some client-side behavior.
      Parameters:
        `javascriptSupport` - the JavaScriptSupport environmental object, passed as a convenience.

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.