Skip to content
Chuck Lorenz edited this page May 18, 2015 · 15 revisions

adapt-contrib-triggered

Triggered is an extension bundled with the Adapt framework.
When a learner clicks on a hot spot within the image, a popup is displayed that consists of text with an image.

Visit the Triggered Wiki for more information about its functionality and for explanations of key properties.

Triggered in action

##Installation

As one of Adapt's core extensions, Triggered is included with the installation of the Adapt framework and the installation of the Adapt authoring tool.

  • If Triggered has been uninstalled from the Adapt framework, it may be reinstalled. With the Adapt CLI installed, run the following from the command line:
    adapt install adapt-contrib-triggered

    Alternatively, this component can also be installed by adding the following line of code to the adapt.json file:
    "adapt-contrib-triggered": "*"
    Then running the command:
    adapt install
    (This second method will reinstall all plug-ins listed in adapt.json.)

  • If Triggered has been uninstalled from the Adapt authoring tool, it may be reinstalled using the Plug-in Manager.

Settings overview

The attributes listed below are used in components.json to configure Triggered, and are properly formatted as JSON in example.json. Visit the Triggered wiki for more information about how they appear in the authoring tool.

Attributes

"_triggered": {
	"_isEnabled":true,
	"_top": 30,
	"_left": 30,
	"showButtonText": "Click me to show",
	"hideButtonText": "Click me to hide"
}

core model attributes: These are inherited by every Adapt component. Read more.

Limitations

Browser spec

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


Version number:
Framework versions:
Author / maintainer: Adapt Core Team
Accessibility support: WAI AA
RTL support: yes
Cross-platform coverage:

Clone this wiki locally