@pie-qti/player-elements 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @pie-qti/player-elements
2
2
 
3
- Framework-agnostic **Web Components (Custom Elements)** for the QTI 2.x players in this repo.
3
+ Framework-agnostic **Web Components (Custom Elements)** for the QTI players in this repo.
4
4
 
5
5
  ## Elements
6
6
 
@@ -32,7 +32,7 @@ const el = document.querySelector('pie-qti-item-player');
32
32
  el.itemXml = qtiItemXmlString;
33
33
  el.identifier = 'item-1';
34
34
  el.title = 'My Item';
35
- el.role = 'candidate'; // QTI 2.x standard role
35
+ el.role = 'candidate'; // QTI role/view actor
36
36
  ```
37
37
 
38
38
  ### Listen for interactions/responses
@@ -75,8 +75,8 @@ el.items = {
75
75
 
76
76
  ```js
77
77
  el.config = {
78
- role: 'candidate', // QTI 2.x standard role
79
- navigationMode: 'nonlinear', // QTI 2.x navigation mode
78
+ role: 'candidate', // QTI role/view actor
79
+ navigationMode: 'nonlinear', // QTI navigation mode
80
80
  showSections: true
81
81
  };
82
82
  ```