Skip to content

Commit

Permalink
Update drag and drop event 'item.dropped'
Browse files Browse the repository at this point in the history
Add documentation on the 'item' and 'location_id' fields of the
'item.dropped' drag and drop event.
  • Loading branch information
arbrandes committed Aug 30, 2016
1 parent 7da8e1c commit 7e39731
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions en_us/data/source/internal_data_formats/tracking_logs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4710,6 +4710,8 @@ input, this event is also emitted after the learner submits the number input.

**Event Source**: Server

**History**: ``item`` and ``location_id`` added 7 Sep 2016.

``context`` **Member Fields**:

This event type includes the :ref:`common<context>` ``context.module`` member
Expand All @@ -4727,6 +4729,11 @@ field.
* - ``input``
- integer
- The number input value entered by the learner.
* - ``item``
- string
- The display name of the draggable item selected by the learner. For
items that do not have a display name, this contains the item's image
URL.
* - ``item_id``
- integer
- The index assigned to the draggable item selected by the learner.
Expand All @@ -4745,6 +4752,11 @@ field.
- string
- The text identifier for the target zone in which the learner placed the
item.
* - ``location_id``
- integer
- The automatically generated unique index assigned to the target zone in
which the learner placed the item. The assigned index is persistent for
each instance.

``edx.drag_and_drop_v2.item.picked_up``
***************************************
Expand Down

0 comments on commit 7e39731

Please sign in to comment.