You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "chuyi (JIRA)" <ji...@apache.org> on 2017/06/08 02:23:18 UTC

[jira] [Updated] (WEEX-37) list support drag-drop

     [ https://issues.apache.org/jira/browse/WEEX-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chuyi updated WEEX-37:
----------------------
    Docs Text: 
feature:
1.  support both pan and longPress gesture to trigger drag-drop;
2. support liner/grid layout;
3. support dragStart/dragEnd event;
4. support excluded some cells when dragging;
extend attrs:

 list:
- draggable: whether draggable or not;
- drag-trigger-type: which gesture type will trigger drag-drop;

 cell:
- drag-excluded: whether we should ignore current cell for dragging;

##### any component:
- drag-anchor: the anchor that will trigger drag-drop


  was:
#### feature:
1.  support both pan and longPress gesture to trigger drag-drop;
2. support liner/grid layout;
3. support dragStart/dragEnd event;
4. support excluded some cells when dragging;

#### extend attrs:

##### list:
- draggable: whether draggable or not;
- drag-trigger-type: which gesture type will trigger drag-drop;

##### cell:
- drag-excluded: whether we should ignore current cell for dragging;

##### any component:
- drag-anchor: the anchor that will trigger drag-drop



> list support drag-drop
> ----------------------
>
>                 Key: WEEX-37
>                 URL: https://issues.apache.org/jira/browse/WEEX-37
>             Project: Weex
>          Issue Type: New Feature
>         Environment: android/iOS
>            Reporter: chuyi
>              Labels: features
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> >  implement drag-drop feature for list
> #### feature:
> 1.  support both pan and longPress gesture to trigger drag-drop;
> 2. support liner/grid layout;
> 3. support dragStart/dragEnd event;
> 4. support excluded some cells when dragging;
> #### extend attrs:
> ##### list:
> - draggable: whether draggable or not;
> - drag-trigger-type: which gesture type will trigger drag-drop;
> ##### cell:
> - drag-excluded: whether we should ignore current cell for dragging;
> ##### any component:
> - drag-anchor: the anchor that will trigger drag-drop



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)