Skip to content

LearningPool/adapt-contrib-blockslider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adapt-contrib-blockslider

A contributed block slider extension for the Adapt Learning framework

Installation

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

adapt install adapt-contrib-blockslider

Usage

Once installed, the component can be used to transform an article into a horizonally scrolling container, that allows users to navigate between the blocks within it.

Both tab and arrow controls are provided to facilitate the navigation of the blocks.

For example JSON format, see example.json

Settings overview

  • _arrows contains settings for the arrow navigation controls:
  • _isActive [boolean]: Set to true/false to display/hide arrow navigation controls.
  • _tabs contains settings for tab navigation controls:
  • _isActive [boolean]: Set to true or false to display/hide tabbed navigation.
  • _useBlockTitle [boolean]: Set to true to display the block title text within tabs. Set to false to display an icon for each tab.
  • _initial [integer]: Which block to show on initial load. For example, a value of 2 will show the 2nd block.
  • _height [numeric]: Fix the height of the blockslider to this value. For example, a value of 600 will set the blockslider to 600px high. Defaults to 'auto' if not specified or non-numeric.

About

Contributed block slider extension for the Adapt Learning framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6