Skip to content

danielghost/adapt-contrib-mcq

This branch is 353 commits behind adaptlearning/adapt-contrib-mcq:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

979dda4 · Jan 27, 2015

History

97 Commits
Apr 23, 2014
Apr 23, 2014
May 22, 2014
Dec 19, 2013
Dec 19, 2013
Dec 19, 2013
Dec 19, 2013
May 16, 2014
Jan 21, 2015
Apr 30, 2014
Dec 19, 2013
Jan 21, 2015
Jan 27, 2015

Repository files navigation

#adapt-contrib-mcq

An Adapt core multiple choice question.

##Installation

First, be sure to install the Adapt Command Line Interface, then from the command line run:-

    adapt install adapt-contrib-mcq

This component can also be installed by adding the component to the adapt.json file before running adapt install:

    "adapt-contrib-mcq": "*"

##Usage

To Be Updated

##Settings overview

A complete example of this components settings can be found in the example.json file. A description of the core settings can be found at: Core model attributes

Further settings for this component are:

####_component

This value must be: mcq

####_classes

You can use this setting to add custom classes to your template and LESS file.

####_layout

This defines the position of the component in the block. Values can be full, left or right.

####_attempts

Default: 1

Specifies the number of attempts for this question.

####_isRandom

Default: false

Setting this value to true will cause the _items to appear in a random order each time this component is loaded.

####_selectable

Defines the number of _items that can be selected.

####_items

Each item represents one choice for the multiple choice question and contains values for text and _shouldBeSelected.

####text

The text for this setting will be displayed as a multiple choice option.

####_shouldBeSelected

Value can be true or false. Use true for items that must be selected for a correct answer. The value of _selectable must correspond to the number of _items where _shouldBeSelected is set to true.

##Limitations

To be completed.

##Browser spec

This component has been tested to the standard Adapt browser specification.

About

A multiple choice question

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.6%
  • CSS 4.5%
  • HTML 1.2%
  • Handlebars 0.7%