@openui5/ts-types 1.96.2 → 1.98.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.2
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -185,6 +185,13 @@ declare namespace sap {
185
185
  */
186
186
  selectedKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
187
187
 
188
+ /**
189
+ * @SINCE 1.98
190
+ *
191
+ * Specifies an optional aria-label that can be used by the screen readers.
192
+ */
193
+ ariaLabel?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
194
+
188
195
  /**
189
196
  * Defines the content inside the flexible part.
190
197
  */
@@ -1349,6 +1356,14 @@ declare namespace sap {
1349
1356
  item?: sap.ui.core.Item;
1350
1357
  }
1351
1358
  ): this;
1359
+ /**
1360
+ * @SINCE 1.98
1361
+ *
1362
+ * Gets current value of property {@link #getAriaLabel ariaLabel}.
1363
+ *
1364
+ * Specifies an optional aria-label that can be used by the screen readers.
1365
+ */
1366
+ getAriaLabel(): string;
1352
1367
  /**
1353
1368
  * Gets current value of property {@link #getExpanded expanded}.
1354
1369
  *
@@ -1390,6 +1405,21 @@ declare namespace sap {
1390
1405
  * Specifies the currently selected key.
1391
1406
  */
1392
1407
  getSelectedKey(): string;
1408
+ /**
1409
+ * @SINCE 1.98
1410
+ *
1411
+ * Sets a new value for property {@link #getAriaLabel ariaLabel}.
1412
+ *
1413
+ * Specifies an optional aria-label that can be used by the screen readers.
1414
+ *
1415
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1416
+ */
1417
+ setAriaLabel(
1418
+ /**
1419
+ * New value for property `ariaLabel`
1420
+ */
1421
+ sAriaLabel?: string
1422
+ ): this;
1393
1423
  /**
1394
1424
  * Sets if the control is in expanded or collapsed mode.
1395
1425
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.2
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -361,6 +361,12 @@ declare namespace sap {
361
361
  * Default value is `"100%"`.
362
362
  */
363
363
  getHeight(): sap.ui.core.CSSSize;
364
+ /**
365
+ * Returns the DOMNode ID to be used for the "labelFor" attribute of the label.
366
+ *
367
+ * By default, this is the ID of the control itself.
368
+ */
369
+ getIdForLabel(): string;
364
370
  /**
365
371
  * Gets current value of property {@link #getLineNumbers lineNumbers}.
366
372
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.2
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {