java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.behavior.DraggableConfig
All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config, Serializable, IClusterable

public class DraggableConfig extends de.agilecoders.wicket.jquery.AbstractConfig
PopoverBehavior configuration
Author:
miha
See Also:
  • Constructor Details

    • DraggableConfig

      public DraggableConfig()
  • Method Details

    • Axis

      Constrains dragging to either the horizontal (x) or vertical (y) axis. Possible values: "x", "y".
      Parameters:
      value - mandatory parameter
      Returns:
      this instance for chaining
    • addClasses

      public DraggableConfig addClasses(boolean value)
      If set to false, will prevent the ui-draggable class from being added. This may be desired as a performance optimization when calling .draggable() on hundreds of elements.
      Parameters:
      value - mandatory parameter
      Returns:
      this instance for chaining
    • withCursor

      public DraggableConfig withCursor(String value)
      The CSS cursor during the drag operation.
      Parameters:
      value - mandatory parameter
      Returns:
      this instance for chaining
    • withHandle

      public DraggableConfig withHandle(String value)
      If specified, restricts dragging from starting unless the mousedown occurs on the specified element(s).
      Parameters:
      value - mandatory parameter
      Returns:
      this instance for chaining