adapt-bodymovin is a component that allows the bodymovin After Effects plugin to be used in Adapt learning courses.
It may be installed with the Adapt CLI installed, run the following from the command line:
adapt install adapt-bodymovin
Alternatively, this component can also be installed by adding the following line of code to the *adapt.json* file:
`"adapt-bodymovin": "*"`
Then running the command:
`adapt install`
(This second method will reinstall all plug-ins listed in *adapt.json*.)
- If adapt-bodymovin has been uninstalled from the Adapt authoring tool, it may be reinstalled using the Plug-in Manager.
The attributes listed below are used in components.json to configure Text, and are properly formatted as JSON in example.json.
core model attributes: These are inherited by every Adapt component. Read more.
_component (string): This value must be: bodymovin
.
_classes (string): CSS class name to be applied to adapt-bodymovin’s containing div
. The class must be predefined in one of the Less files. Separate multiple classes with a space.
_layout (string): This defines the horizontal position of the component in the block. Acceptable values are full
, left
or right
.
title (string): A reference title for the component. title is distinct from the displayTitle which, if present, appears above the component. title provides the opportunity to use a shortened form in tighter spaces, such as in menus or in the drawer.
displayTitle (string): Optional text that will display as a title or header above the component. It can be used as a headline.
instruction (string): This optional text appears above the component. It is frequently used to guide the learner’s interaction with the component.
body (string): Although optional, this text constitutes what is thought of as the primary text of the Text component. HTML is permitted.
To be updated
Version number: 0.0.1
Framework versions: 2+
Author / maintainer: Dan Gray
Accessibility support: To be confirmed
RTL support: To be confirmed
Cross-platform coverage: To be confirmed