Package com.helger.html.hc.config
Class DefaultHCOnDocumentReadyProvider
- java.lang.Object
-
- com.helger.html.hc.config.DefaultHCOnDocumentReadyProvider
-
- All Implemented Interfaces:
IHCOnDocumentReadyProvider
public class DefaultHCOnDocumentReadyProvider extends Object implements IHCOnDocumentReadyProvider
Default implementation ofIHCOnDocumentReadyProviderdoing nothing!- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description DefaultHCOnDocumentReadyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IHasJSCodecreateOnDocumentReady(IHasJSCode aJSCodeProvider)Create "on document ready" JS code.
-
-
-
Method Detail
-
createOnDocumentReady
@Nonnull public IHasJSCode createOnDocumentReady(@Nonnull IHasJSCode aJSCodeProvider)
Description copied from interface:IHCOnDocumentReadyProviderCreate "on document ready" JS code. When e.g. using JQuery this could return$(document).ready (function() {JSCode});- Specified by:
createOnDocumentReadyin interfaceIHCOnDocumentReadyProvider- Parameters:
aJSCodeProvider- The code to be executed when the HTML document is ready.- Returns:
- The created code.
-
-