Skip to content

simondate/adapt-block-branching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated - Use adapt-contrib-branching instead

This extension is no longer recommended to use. You should instead use the Core team supported adapt-contrib-branching instead!


adapt-block-branching

An Adapt framework extension to add block based branching to an article.

Attributes

articles.json

The extension enables different blocks within an Article to be hidden or shown according to which branching path the learner takes.

_isEnabled (boolean) Disables branching functionality in the Article. Ideal to use for QA or testing purposes

_resetOnRevisit (boolean) If set to true the extension resets if you navigate to off the page.

blocks.json

_blockBranching (object) The setting is required for every single block on the page with Branching

_isEnabled (boolean) Turns the current block into a branching block. This will hide any blocks that appear later in the page.

_scenarioId (string) Used to assign an ID for the current block. This is used instead of the normal Block ID so that the extension still functions when you import/export the course from the Adapt Authoring Tool.

_userAnswer (array - strings): This array links to the scenario ID of the following blocks on the page to the answers of the items array in any question component inside this block.

About

Adds block-based branching to Adapt. Ideal for creating non-linear scenarios.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published