tao-test/app/taoQtiItem/views/js/qtiCreator/model/mixin/editableContainer.js

15 lines
406 B
JavaScript
Raw Normal View History

2022-08-29 20:14:13 +02:00
define(['taoQtiItem/qtiCreator/model/helper/container'], function(containerHelper){
"use strict";
var methods = {
createElements : function(body, callback){
var _this = this;
containerHelper.createElements(_this.getBody(), body, function(newElts){
callback.call(_this, newElts);
});
}
};
return methods;
});