Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
099c79c8
Commit
099c79c8
authored
Jan 16, 2013
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs
parent
a6f87dcf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
docs/source/drag_and_drop_input.rst
+9
-7
No files found.
docs/source/drag_and_drop_input.rst
View file @
099c79c8
...
...
@@ -125,7 +125,7 @@ Wrong (for draggable id 7)::
'rule': 'anyof'
}]
Rules are: exact, anyof, unorder
ly_equal, anyof+number, unorderly
_equal+number
Rules are: exact, anyof, unorder
ed_equal, anyof+number, unordered
_equal+number
- Exact rule means that targets for draggable id's in user_answer are the same
that targets from correct answer. For example, for draggables 7 and 8 user must
...
...
@@ -139,7 +139,7 @@ drag 7 to target1 and 8 to target2 if correct_answer is::
}]
-
Unorderly_equal rule allows draggables be dragged to targets unorderly
. If one
-
unordered_equal rule allows draggables be dragged to targets unordered
. If one
want to allow for student to drag 7 to target1 or target2 and 8 to target2 or
target 1 and 7 and 8 must be in different targets, then correct answer must be::
...
...
@@ -147,7 +147,7 @@ target 1 and 7 and 8 must be in different targets, then correct answer must be::
{
'draggables': ['7', '8'],
'targets': ['tartget1', 'target2'],
'rule': 'unorder
ly
_equal'
'rule': 'unorder
ed
_equal'
}]
- Anyof rule allows draggables to be dragged to any of targets. If one want to
...
...
@@ -173,7 +173,7 @@ or target5 and target2 etc..::
{
'draggables': ['a'],
'targets': ['target1', 'target4', 'target7', 'target10'],
'rule': 'unorder
ly
_equal'
'rule': 'unorder
ed
_equal'
},
{
'draggables': ['b'],
...
...
@@ -183,7 +183,7 @@ or target5 and target2 etc..::
{
'draggables': ['c'],
'targets': ['target3', 'target6', 'target9'],
'rule': 'unorder
ly
_equal'
'rule': 'unorder
ed
_equal'
}]
And sometimes you want to allow drag only two 'b' draggables, in these case
...
...
@@ -193,7 +193,7 @@ you sould use 'anyof+number' of 'unordered_equal+number' rule::
{
'draggables': ['a', 'a', 'a'],
'targets': ['target1', 'target4', 'target7'],
'rule': 'unorder
ly
_equal+numbers'
'rule': 'unorder
ed
_equal+numbers'
},
{
'draggables': ['b', 'b'],
...
...
@@ -203,9 +203,11 @@ you sould use 'anyof+number' of 'unordered_equal+number' rule::
{
'draggables': ['c'],
'targets': ['target3', 'target6', 'target9'],
'rule': 'unorder
ly
_equal'
'rule': 'unorder
ed
_equal'
}]
In case if we have no multiple draggables per targets (one_per_target="true"),
for same number of draggables, anyof is equal to unordered_equal
Example
=======
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment