Drag the Words

h5p-drag-text doesn't implement attach()!

theotherdy's picture
Forums: 

Was hoping to use h5p-drag-text as the basis for a new content type so am working my way through its code on GitHub but cannot find the .attach() method I was expecting to see, having read the developers guide...the closest I can find is:

DragText.prototype.addTaskTo = function ($container) {

Is this a deprecated method which is still supported or am I looking at the wrong code?

 

 

Pages