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
* 1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot
27
63
* 2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of "type: Node"
28
64
* 3) slotchange: a slot element, slotted inside that slot had its "slotchange" event listener called. This practically means that transitively slotted children changed.
29
-
* Can only trigger if the child of a slot is a slot element itself.
65
+
* Can only trigger if the child of a slot is a slot element itself.
30
66
* 4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.
31
-
* Can only trigger for slots with "invalidateOnChildChange" metadata descriptor
67
+
* Can only trigger for slots with "invalidateOnChildChange" metadata descriptor
32
68
*
33
69
* - newValue: the new value of the property (for type="property" only)
34
70
*
35
71
* - oldValue: the old value of the property (for type="property" only)
36
72
*
37
73
* - child the child that was changed (for type="slot" and reason="childchange" only)
38
74
*
75
+
* @public
39
76
*/
40
-
onInvalidation: (changeInfo)=>void;
77
+
onInvalidation(changeInfo: ChangeInfo):void;
41
78
/**
42
79
* Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template
43
-
*
44
-
* __Note:__ For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option
45
-
*
80
+
* *Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option
46
81
* Use this method instead of "this.shadowRoot" to read the Shadow DOM, if ever necessary
82
+
*
83
+
* @public
47
84
*/
48
-
getDomRef: ()=>HTMLElement;
85
+
getDomRef(): HTMLElement|undefined;
86
+
49
87
/**
50
-
* Returns the DOM Element marked with `data-sap-focus-ref` inside the template.
88
+
* Returns the DOM Element marked with "data-sap-focus-ref" inside the template.
51
89
* This is the element that will receive the focus by default.
90
+
* @public
52
91
*/
53
-
getFocusDomRef: ()=>HTMLElement;
92
+
getFocusDomRef(): HTMLElement|undefined;
93
+
54
94
/**
55
-
* Returns the DOM Element marked with `data-sap-focus-ref` inside the template.
95
+
* Waits for dom ref and then returns the DOM Element marked with "data-sap-focus-ref" inside the template.
56
96
* This is the element that will receive the focus by default.
0 commit comments