/adapt-contrib-trickle

A vertical locking extension

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

adapt-contrib-trickle

An Adapt core contributed extension that provides vertical locking

Installation

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

    adapt install adapt-contrib-trickle

Usage

To setup locking, add the _trickle attribute to the article or block you wish to lock:

"_trickle": {
    "button": {
        "continue" : "Continue"
    }
}

Setting _trickle on an article will override any _trickle settings of blocks beneath it - all blocks underneath the article will be trickled.

When the article/block is complete, a button will appear containing the text you specify in the continue attribute. Clicking this button will show and scroll to the next article or block.