public class TourOptions
extends de.agilecoders.wicket.jquery.AbstractConfig
| Constructor and Description |
|---|
TourOptions() |
| Modifier and Type | Method and Description |
|---|---|
TourOptions |
withBackdrop(boolean value)
The storage system you want to use. could be the objects window.localStorage, window.sessionStorage of your own object.
|
TourOptions |
withBasepath(org.apache.wicket.model.IModel<String> value)
Specify a default base path prepended to the path option of every single step.
|
TourOptions |
withContainer(org.apache.wicket.model.IModel<String> value)
Appends the step popover to a specific element.
|
TourOptions |
withDebug(boolean value)
Set this option to true to have some useful informations printed in the console.
|
TourOptions |
withKeyboard(boolean value)
This option set the left and right arrow navigation.
|
TourOptions |
withName(org.apache.wicket.model.IModel<String> value)
This option is used to build the name of the storage item where the tour state is stored.
|
TourOptions |
withOrphan(boolean value)
Allow to show the step regardless whether its element is not set, is not present in the page or is hidden.
|
TourOptions |
withRedirect(boolean value)
Set a custom function to execute as redirect function.
|
TourOptions |
withStorage(String value)
The storage system you want to use. could be the objects window.localStorage, window.sessionStorage of your own object.
|
TourOptions |
withTemplate(org.apache.wicket.model.IModel<String> value)
String or function that returns a string of the HTML template for the popovers.
|
public TourOptions withName(org.apache.wicket.model.IModel<String> value)
value - mandatory parameterpublic TourOptions withContainer(org.apache.wicket.model.IModel<String> value)
value - mandatory parameterpublic TourOptions withKeyboard(boolean value)
value - mandatory parameterpublic TourOptions withStorage(String value)
value - mandatory parameterpublic TourOptions withDebug(boolean value)
value - mandatory parameterpublic TourOptions withBackdrop(boolean value)
value - mandatory parameterpublic TourOptions withRedirect(boolean value)
value - mandatory parameterpublic TourOptions withOrphan(boolean value)
value - mandatory parameterpublic TourOptions withBasepath(org.apache.wicket.model.IModel<String> value)
value - mandatory parameterpublic TourOptions withTemplate(org.apache.wicket.model.IModel<String> value)
value - mandatory parameterCopyright © 2011–2014 AgileCoders. All rights reserved.