public class JQueryHeaderContributor extends Behavior
| Modifier and Type | Field and Description |
|---|---|
static JQueryResourceReference |
jQueryCoreJs |
| Constructor and Description |
|---|
JQueryHeaderContributor(JQueryResourceReference baseLibrary) |
JQueryHeaderContributor(JQueryResourceReference baseLibrary,
JQueryResourceReference... requiredLibraries) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addJavascriptReference(IHeaderResponse response,
JavaScriptResourceReference resource) |
static void |
addUserProvidedResourceReferences(JavaScriptResourceReference... resources) |
static List<JavaScriptResourceReference> |
getUserProvidedResourceReferences() |
void |
renderHead(Component component,
IHeaderResponse response) |
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbindpublic static final JQueryResourceReference jQueryCoreJs
public JQueryHeaderContributor(JQueryResourceReference baseLibrary)
public JQueryHeaderContributor(JQueryResourceReference baseLibrary, JQueryResourceReference... requiredLibraries)
protected void addJavascriptReference(IHeaderResponse response, JavaScriptResourceReference resource)
public void renderHead(Component component, IHeaderResponse response)
renderHead in interface IComponentAwareHeaderContributorrenderHead in class Behaviorpublic static void addUserProvidedResourceReferences(JavaScriptResourceReference... resources)
public static List<JavaScriptResourceReference> getUserProvidedResourceReferences()
Copyright © 2020. All rights reserved.