Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.31 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.31 KB

This repository is now deprecated and archived. Refer to adaptlearning/adapt_framework#1469

adapt-inline-feedback

Display question feedback in situ rather than in a popup (adapt-contrib-tutor).

##Installation

<div class="{{_component}}-feedback component-feedback">
    <div class="{{_component}}-feedback-title component-feedback-title"></div>
    <div class="{{_component}}-feedback-message component-feedback-message"></div>
</div>

If a generic feedback title is required, specify it in course.json via _globals._extensions._inlineFeedback.feedbackTitle.

N.B. if using adapt-contrib-confidenceSlider showFeedback must not be overridden. Instead, override setupFeedback:

setupFeedback: function() {
    this.model.set('feedbackTitle', this.model.get('title'));
    this.model.set('feedbackMessage', this.getFeedbackString());
}

If used with adapt-contrib-trickle, trickle must listen to _isComplete rather than _isInteractionComplete (see trickle documentation).