public class TypeaheadConfig<T>
extends de.agilecoders.wicket.jquery.AbstractConfig
Basic configuration for typeahead.js
| Constructor and Description |
|---|
TypeaheadConfig(DataSet<T> firstSet,
DataSet<T>... datasets) |
| Modifier and Type | Method and Description |
|---|---|
static <T> TypeaheadConfig<T> |
forRemote(Bloodhound<T> bloodhound)
Convenience method for creating a typeahead.js remote
Bloodhound configuration |
DataSet<T>[] |
getDatasets() |
boolean |
isSelectEvent() |
TypeaheadConfig<T> |
withHighlight(boolean highlight) |
TypeaheadConfig<T> |
withHint(boolean hint) |
TypeaheadConfig<T> |
withMinLength(int minLength) |
TypeaheadConfig<T> |
withSelectEvent(boolean withSelectEvent) |
public TypeaheadConfig<T> withHighlight(boolean highlight)
public TypeaheadConfig<T> withHint(boolean hint)
public TypeaheadConfig<T> withMinLength(int minLength)
public TypeaheadConfig<T> withSelectEvent(boolean withSelectEvent)
public boolean isSelectEvent()
public static <T> TypeaheadConfig<T> forRemote(Bloodhound<T> bloodhound)
Convenience method for creating a typeahead.js remote Bloodhound configuration
Copyright © 2011–2014 AgileCoders. All rights reserved.