in partnership with mediatemple

Show
Ignore:
Timestamp:
04/24/08 06:14:57 (3 weeks ago)
Author:
JanK
Message:

typo in Sortables docs (onStart -> onSort)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Docs/Plugins/Sortables.md

    r1500 r1544  
    1313#### Options: 
    1414 
    15 1. constrain - (*boolean*: defaults to false) Whether or not to constrain the element being dragged to its parent element. 
    16 2. clone     - (*mixed*: defaults to false) Whether or not to display a copy of the actual element under the cursor while dragging. May also be used as a function which will return an element to be used as the clone.  The function will receive the mousedown event, the element, and the list as arguments. 
    17 3. handle    - (*string*: defaults to false) A selector to select an element inside each sortable item to be used as the handle for sorting that item.  If no match is found, the element is used as its own handle. 
    18 4. opacity   - (*integer*: defaults to 1) Opacity of the place holding element 
    19 5. revert    - (*mixed*: defaults to false) Whether or not to use an effect to slide the element into its final location after sorting. If you pass an object it will be used as additional options for the revert effect. 
    20 6. snap      - (*integer*: defaults to 4) The number of pixels the element must be dragged for sorting to begin. 
     15* constrain - (*boolean*: defaults to false) Whether or not to constrain the element being dragged to its parent element. 
     16* clone     - (*mixed*: defaults to false) Whether or not to display a copy of the actual element under the cursor while dragging. May also be used as a function which will return an element to be used as the clone.  The function will receive the mousedown event, the element, and the list as arguments. 
     17* handle    - (*string*: defaults to false) A selector to select an element inside each sortable item to be used as the handle for sorting that item.  If no match is found, the element is used as its own handle. 
     18* opacity   - (*integer*: defaults to 1) Opacity of the place holding element 
     19* revert    - (*mixed*: defaults to false) Whether or not to use an effect to slide the element into its final location after sorting. If you pass an object it will be used as additional options for the revert effect. 
     20* snap      - (*integer*: defaults to 4) The number of pixels the element must be dragged for sorting to begin. 
    2121 
    2222### Events: 
    2323 
    24 1. onStart    - function executed when the item starts dragging 
    25 1. onStart    - function executed when the item is inserted into a new place in one of the lists 
    26 2. onComplete - function executed when the item ends dragging 
     24* onStart    - function executed when the item starts dragging 
     25* onSort     - function executed when the item is inserted into a new place in one of the lists 
     26* onComplete - function executed when the item ends dragging 
    2727 
    2828### Examples: