Search
Preparing search index...
The search index is not available
examma-ray
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
examma-ray
response/fitb-drop
Module response/fitb-drop
Index
Type aliases
Droppable
Specification
FITBDrop
Specification
Drop
Submission
FITBDrop
Submission
Functions
activate
Bank
create
FilledFITBDrop
renderFITBDrop
Bank
map
Skin
Over
Submission
Variables
FITB_
DROP_
HANDLER
Type aliases
Droppable
Specification
Droppable
Specification
:
{
id
:
string
;
content
:
string
}
[]
FITBDrop
Specification
FITBDrop
Specification
:
{
kind
:
"fitb_drop"
;
content
:
string
;
droppables
:
DroppableSpecification
;
starter
?:
Exclude
<
FITBDropSubmission
,
typeof
BLANK_SUBMISSION
>
;
sample_solution
?:
ViableSubmission
<
FITBDropSubmission
>
;
default_grader
?:
GraderSpecificationFor
<
"fitb_drop"
>
;
group_id
?:
string
}
Type declaration
kind
:
"fitb_drop"
content
:
string
droppables
:
DroppableSpecification
Optional
starter
?:
Exclude
<
FITBDropSubmission
,
typeof
BLANK_SUBMISSION
>
Optional
sample_
solution
?:
ViableSubmission
<
FITBDropSubmission
>
Optional
default_
grader
?:
GraderSpecificationFor
<
"fitb_drop"
>
Optional
group_
id
?:
string
Drop
Submission
Drop
Submission
:
{
id
:
string
;
children
?:
(
string
|
DropSubmission
)
[]
}
[]
FITBDrop
Submission
FITBDrop
Submission
:
(
string
|
DropSubmission
)
[]
|
typeof
BLANK_SUBMISSION
Functions
activate
Bank
activate
Bank
(
elem
:
JQuery
<
HTMLElement
>
, group_id
:
string
)
:
void
Parameters
elem:
JQuery
<
HTMLElement
>
group_id:
string
Returns
void
create
FilledFITBDrop
create
FilledFITBDrop
(
content
:
string
, dropOriginals
:
DroppableSpecification
, group_id
:
string
, skin
?:
ExamComponentSkin
, submission
?:
FITBDropSubmission
, blankRenderer
?:
(
submission_placeholder
:
string
, length
:
number
)
=>
string
, boxRenderer
?:
(
submission_placeholder
:
string
, lines
:
number
, width
:
number
)
=>
string
, dropLocationRenderer
?:
(
submission_placeholder
:
string
, group_id
:
string
, lines
:
number
, width
:
number
)
=>
string
, dropBankRenderer
?:
(
group_id
:
string
)
=>
string
, encoder
?:
(
s
:
string
)
=>
string
)
:
string
Parameters
content:
string
dropOriginals:
DroppableSpecification
group_id:
string
Optional
skin:
ExamComponentSkin
Optional
submission:
FITBDropSubmission
blankRenderer:
(
submission_placeholder
:
string
, length
:
number
)
=>
string
= DEFAULT_BLANK_RENDERER
(
submission_placeholder
:
string
, length
:
number
)
:
string
Parameters
submission_placeholder:
string
length:
number
Returns
string
boxRenderer:
(
submission_placeholder
:
string
, lines
:
number
, width
:
number
)
=>
string
= DEFAULT_BOX_RENDERER
(
submission_placeholder
:
string
, lines
:
number
, width
:
number
)
:
string
Parameters
submission_placeholder:
string
lines:
number
width:
number
Returns
string
dropLocationRenderer:
(
submission_placeholder
:
string
, group_id
:
string
, lines
:
number
, width
:
number
)
=>
string
= DEFAULT_DROP_LOCATION_RENDERER
(
submission_placeholder
:
string
, group_id
:
string
, lines
:
number
, width
:
number
)
:
string
Parameters
submission_placeholder:
string
group_id:
string
lines:
number
width:
number
Returns
string
dropBankRenderer:
(
group_id
:
string
)
=>
string
= DEFAULT_DROP_BANK_RENDERER
(
group_id
:
string
)
:
string
Parameters
group_id:
string
Returns
string
encoder:
(
s
:
string
)
=>
string
= encode
(
s
:
string
)
:
string
Parameters
s:
string
Returns
string
Returns
string
renderFITBDrop
Bank
renderFITBDrop
Bank
(
droppables
:
DroppableSpecification
, group_id
:
string
, skin
?:
ExamComponentSkin
)
:
string
Parameters
droppables:
DroppableSpecification
group_id:
string
Optional
skin:
ExamComponentSkin
Returns
string
map
Skin
Over
Submission
map
Skin
Over
Submission
(
submission
:
FITBDropSubmission
, skin
:
ExamComponentSkin
)
:
FITBDropSubmission
Parameters
submission:
FITBDropSubmission
skin:
ExamComponentSkin
Returns
FITBDropSubmission
Variables
Const
FITB_
DROP_
HANDLER
FITB_
DROP_
HANDLER
:
ResponseHandler
<
"fitb_drop"
>
= ...
Modules
Exam
Generator
Exam
Grader
core
core/assigned_
exams
core/exam_
components
core/exam_
specification
core/randomization
core/skins
graders
graders/FITBRegex
Grader
response
response/code_
editor
response/common
response/fitb-
drop
response/fitb
response/mc
response/select_
lines
Droppable
Specification
FITBDrop
Specification
Drop
Submission
FITBDrop
Submission
activate
Bank
FITB_
DROP_
HANDLER
create
FilledFITBDrop
renderFITBDrop
Bank
map
Skin
Over
Submission
Generated using
TypeDoc