░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/datadrive/moodledata/filedir/53/cd
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: 53cd3b71707d3dbb705c331e825e28538ef212fc
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);
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 53cd3b71707d3dbb705c331e825e28538ef212fc
?
1.5 KB
2025-02-01 12:32
EDIT
📄 53cdfbe18187fce423d85b422a58816ab178327c
?
420 B
2023-08-03 13:28
EDIT