ListItemDrag.direction is not defined in the API document
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I just compared the two API documents:
https:/
it uses the code:
ViewItems.
if (event.direction == ListItemDrag.
// this is the last event, so drop the item
} else if (event.direction != ListItemDrag.
// do not accept the moving events, so drag.from will
// always contain the original drag index
}
}
It has the "event.direction" there, but in the API document:
https:/
It does not have the "direction" property defined there. Is this a bug? Shall it be "event.status" instead?
Thanks & best regards,
XiaoGuo