Interface LazyLoadingScript

All Superinterfaces:
BroadcastIndicator, Script
All Known Implementing Classes:
ResourceLazyLoadingScript

public interface LazyLoadingScript extends Script
Allows to define a lazy loading script which will not send the scipt contents during the invocaiton if the scipt can be cached and compiled. If the scipt has already been compiled and cached, it will be executed. If it was not, it will be loaded on the client and sent again for execution.
Author:
kimchy
See Also:
  • Method Details

    • hasScript

      boolean hasScript()
      Returns true if the script has been loaded.
    • loadScript

      void loadScript()
      Loads the script into memory.