@@ -26,7 +26,7 @@ const metadata = {
2626 slots : /** @lends sap.ui.webcomponents.main.List.prototype */ {
2727
2828 /**
29- * Defines the <code>ui5-li </code> header.
29+ * Defines the <code>ui5-list </code> header.
3030 * <br><br>
3131 * <b>Note:</b> When <code>header</code> is set, the
3232 * <code>headerText</code> property is ignored.
@@ -93,8 +93,8 @@ const metadata = {
9393 /**
9494 * Defines the mode of the <code>ui5-list</code>.
9595 * <br><br>
96- * <b>Note:</b> Avalaible options are <code>None</code>, <code>SingleSelect</code>,
97- * <code>MultiSelect</code>, and <code>Delete</code>.
96+ * <b>Note:</b> Available options are <code>None</code>, <code>SingleSelect</code>, <code>SingleSelectBegin </code>,
97+ * <code>SingleSelectEnd</code>, <code> MultiSelect</code>, and <code>Delete</code>.
9898 *
9999 * @type {ListMode }
100100 * @defaultvalue "None"
@@ -162,6 +162,17 @@ const metadata = {
162162 busy : {
163163 type : Boolean ,
164164 } ,
165+
166+ /**
167+ * Used to externally manipulate the role of the list
168+ *
169+ * @private
170+ */
171+ _role : {
172+ type : String ,
173+ defaultValue : "listbox" ,
174+ noAttribute : true ,
175+ } ,
165176 } ,
166177 events : /** @lends sap.ui.webcomponents.main.List.prototype */ {
167178
@@ -227,7 +238,7 @@ const metadata = {
227238
228239 /**
229240 * Fired when selection is changed by user interaction
230- * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
241+ * in <code>SingleSelect</code>, <code>SingleSelectBegin</code>, <code>SingleSelectEnd</code> and <code>MultiSelect</code> modes.
231242 *
232243 * @event
233244 * @param {Array } selectedItems An array of the selected items.
@@ -624,6 +635,10 @@ class List extends UI5Element {
624635 }
625636 }
626637
638+ focusItem ( item ) {
639+ item . focus ( ) ;
640+ }
641+
627642 setForwardingFocus ( forwardingFocus ) {
628643 this . _forwardingFocus = forwardingFocus ;
629644 }
0 commit comments