public class IscrollJsGenerator extends de.alpharogroup.wicket.js.addon.core.JavascriptGenerator<IscrollSettings>
| Constructor and Description |
|---|
IscrollJsGenerator(IscrollSettings settings,
String componentId)
Instantiates a new
IscrollJsGenerator. |
| Modifier and Type | Method and Description |
|---|---|
String |
generateJavascriptTemplateContent(Map<String,Object> variables,
String methodName)
Generates the javascript template code from the given map and the given method name that will
be used to interpolate with the values of the given map.
|
generateJs, generateJs, generateJsOptionsForTemplateContent, getComponentId, getMethodName, getSettings, initializeVariables, isWithComponentId, isWithDocumentReadyFunction, setComponentId, setMethodName, setSettings, setWithComponentId, setWithDocumentReadyFunctionpublic IscrollJsGenerator(IscrollSettings settings, String componentId)
IscrollJsGenerator.settings - the settings for the Iscroll library.componentId - the component idpublic String generateJavascriptTemplateContent(Map<String,Object> variables, String methodName)
generateJavascriptTemplateContent in class de.alpharogroup.wicket.js.addon.core.JavascriptGenerator<IscrollSettings>variables - the map with the javascript options.methodName - The method name.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.