@citolab/qti-components 6.7.1-54 → 6.7.1-55

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.
@@ -888,7 +888,7 @@
888
888
  "declarations": [
889
889
  {
890
890
  "kind": "class",
891
- "description": "",
891
+ "description": "Represents a custom element for referencing an assessment stimulus.",
892
892
  "name": "QtiAssessmentStimulusRef",
893
893
  "members": [],
894
894
  "attributes": [
@@ -898,6 +898,7 @@
898
898
  "text": "string"
899
899
  },
900
900
  "default": "''",
901
+ "description": "The identifier of the stimulus.",
901
902
  "fieldName": "identifier"
902
903
  },
903
904
  {
@@ -906,6 +907,7 @@
906
907
  "text": "string"
907
908
  },
908
909
  "default": "''",
910
+ "description": "The href of the stimulus.",
909
911
  "fieldName": "href"
910
912
  }
911
913
  ],
@@ -180,10 +180,27 @@ declare global {
180
180
  }
181
181
  }
182
182
 
183
+ /**
184
+ * Represents a custom element for referencing an assessment stimulus.
185
+ */
183
186
  declare class QtiAssessmentStimulusRef extends LitElement {
187
+ /**
188
+ * The identifier of the stimulus.
189
+ */
184
190
  identifier: string;
191
+ /**
192
+ * The href of the stimulus.
193
+ */
185
194
  href: string;
195
+ /**
196
+ * Lifecycle method called when the element is connected to the DOM.
197
+ * Loads and appends the stimulus if the 'qti-assessment-stimulus-ref-connected' event is not prevented.
198
+ */
186
199
  connectedCallback(): Promise<void>;
200
+ /**
201
+ * Loads and appends the stimulus to the specified element.
202
+ * @param stimulusRef - The element to which the stimulus will be appended.
203
+ */
187
204
  loadAndAppendStimulus(stimulusRef: Element): Promise<void>;
188
205
  }
189
206
  declare global {