domma-js 0.29.2 → 0.30.0

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.
@@ -77,6 +77,15 @@ export interface ConfigEngine {
77
77
  * Reset/destroy configuration for a selector or all selectors
78
78
  * @param selector - Optional selector to reset
79
79
  */
80
+ /**
81
+ * Retrieve the live component instance created by setup() for a selector.
82
+ * Instances are NOT stored on the element — $(sel).data('component') is
83
+ * always undefined.
84
+ * @param selector - Selector the component was configured under
85
+ */
86
+ getComponent(selector: string): any | null;
87
+ getComponent(): Map<string, any>;
88
+
80
89
  reset(selector?: string): void;
81
90
 
82
91
  /**