ids-enterprise-typings 10.12.2 → 10.12.3
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.
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
*/
|
|
19
19
|
type SohoModalTriggerType = 'click' | 'immediate';
|
|
20
20
|
|
|
21
|
+
type SohoModalFocusChangeFunction = (
|
|
22
|
+
modal: HTMLElement,
|
|
23
|
+
el: HTMLElement
|
|
24
|
+
) => void;
|
|
25
|
+
|
|
21
26
|
/**
|
|
22
27
|
* Soho Modal Dialog configuration options
|
|
23
28
|
*
|
|
@@ -97,6 +102,9 @@ interface SohoModalOptions {
|
|
|
97
102
|
|
|
98
103
|
/** Add extra attributes like id's to the component **/
|
|
99
104
|
attributes?: Array<Object> | Object;
|
|
105
|
+
|
|
106
|
+
/** Fires when an element gets focus on the modal */
|
|
107
|
+
onFocusChange?: SohoModalFocusChangeFunction;
|
|
100
108
|
}
|
|
101
109
|
|
|
102
110
|
type SohoModalFullSize = false | 'responsive' | 'always';
|