java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.form.typeaheadV10.TypeaheadConfig<T>
All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config, Serializable, IClusterable

public class TypeaheadConfig<T> extends de.agilecoders.wicket.jquery.AbstractConfig
Basic configuration for typeahead.js
See Also:
  • Constructor Details

    • TypeaheadConfig

      public TypeaheadConfig(DataSet<T> firstSet, DataSet<T>... datasets)
  • Method Details

    • withHighlight

      public TypeaheadConfig<T> withHighlight(boolean highlight)
    • withHint

      public TypeaheadConfig<T> withHint(boolean hint)
    • withMinLength

      public TypeaheadConfig<T> withMinLength(int minLength)
    • withSelectEvent

      public TypeaheadConfig<T> withSelectEvent(boolean withSelectEvent)
    • isSelectEvent

      public boolean isSelectEvent()
    • getDatasets

      public DataSet<T>[] getDatasets()
    • forRemote

      public static <T> TypeaheadConfig<T> forRemote(Bloodhound<T> bloodhound)
      Convenience method for creating a typeahead.js remote Bloodhound configuration