You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
<li><code>data-component="dragndrop"</code> Identifies this as a drag n drop component</li>
30
30
<li><code>id</code> Must be unique in the document</li>
31
-
<li><code>data-component="question"</code> Optional--Identifies a <code>span</code> that contains the question</li>
32
-
<li><code>data-component="feedback"</code> Optional--Identifies a <code>span</code> that contains the feedback for incorrect answers</li>
31
+
<li><code>data-subcomponent="question"</code> Optional--Identifies a <code>span</code> that contains the question</li>
32
+
<li><code>data-subcomponent="feedback"</code> Optional--Identifies a <code>span</code> that contains the feedback for incorrect answers</li>
33
33
</ul>
34
34
35
35
Option spec for the <code>li</code> tags:
36
36
37
37
<ul>
38
-
<li><code>data-component="draggable"</code> Identifies a draggable element that will be dropped into a dropzone block</li>
38
+
<li><code>data-subcomponent="draggable"</code> Identifies a draggable element that will be dropped into a dropzone block</li>
39
39
<li><code>id</code> For the draggable elements--must be unique in the component
40
-
<li><code>data-component="dropzone"</code> Identifies a dropzone component that will receive a draggable element</li>
40
+
<li><code>data-subcomponent="dropzone"</code> Identifies a dropzone component that will receive a draggable element</li>
41
41
<li><code>for</code> For the dropzone components--identifies the correct draggable element (via <code>id</code>) that when dropped into this dropzone, will be registered as correct</li>
0 commit comments