Attributes |
Name | Required | Request-time | Type | Description |
axis | no | false | java.lang.String | Restrict the drag movement of this item to an axis. Default is null, possible values include: "x" & "y". |
binding | no | false | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
containment | no | false | java.lang.String | Id of the parent component whose boundaries should restrict the movement of this draggable. |
cursor | no | false | java.lang.String | Cursor style to set when this component is being dragged. See this page for a reference of what cursor styles your browser supports. |
datasource | no | false | java.lang.String | Allows you to set the ID of an UIData component that will provide a Java object as input for the drag start event. That object is defined by matching the index of the draggable to an object at the same index in the UIData component backing. |
disabled | no | false | boolean | If set, movement is disabled. |
dragOnly | no | false | boolean | If set, component won't cause drop event. |
dragStartListener | no | false | javax.el.MethodExpression | MethodExpression reference to a method called whenever the target component starts to be dragged. (It is advised not to use this event for updating the component being dragged, in order to avoid having its markup replaced while still dragging it. See wiki for more details.) |
for | no | false | java.lang.String | Id of the component to add draggable behavior to. |
grid | no | false | java.lang.String | Defines the drag movement of this component as though snapping to a grid in defined intervals. Ex: '20x20', measured in pixels. |
handle | no | false | java.lang.String | Restrict the drag-event start to an element specified by this JQuery selector. |
helper | no | false | java.lang.String | Specifies which element to move during the dragging event. Possible values are 'original' or 'clone'. |
id | no | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
opacity | no | false | java.lang.Double | The opacity for the helper during dragging. Values can range from 0.00 to 1.00. Default = '1.0'. |
rendered | no | false | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
revert | no | false | boolean | If set, the component will return to its original position when dragging stops. |
scope | no | false | java.lang.String | This arbitrary keyword allows sets of dragabbles and droppables with the same keyword to be associated with each other exclusively. |
snap | no | false | boolean | Enable 'snap to droppable' behavior for this component. |
snapMode | no | false | java.lang.String | Specifies which edges on elements to snap to. Possible values include: outer, inner and both. |
snapTolerance | no | false | int | Distance in pixels from the droppable edges at which snapping should occur. |
stack | no | false | java.lang.String | JQuery selector that defines the set of items this draggable shares its space with, ensures this item is brought to the front z-index when dragged. |
widgetVar | no | false | java.lang.String | The JavaScript component instance variable name. |
zindex | no | false | int | The z-index to set for the helper object. |