File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 368
368
) as SMUIListItemAccessor [];
369
369
}
370
370
371
- function focusItemAtIndex(index : number ) {
372
- const accessor = getOrderedList ()[index ];
373
- accessor &&
374
- ' focus' in accessor .element &&
375
- (accessor .element as HTMLInputElement ).focus ();
376
- }
377
-
378
371
function listItemAtIndexHasClass(index : number , className : string ) {
379
372
const accessor = getOrderedList ()[index ];
380
373
return (accessor && accessor .hasClass (className )) ?? false ;
453
446
return instance .getFocusedItemIndex ();
454
447
}
455
448
449
+ export function focusItemAtIndex(index : number ) {
450
+ const accessor = getOrderedList ()[index ];
451
+ accessor &&
452
+ ' focus' in accessor .element &&
453
+ (accessor .element as HTMLInputElement ).focus ();
454
+ }
455
+
456
456
export function getElement(): HTMLElement {
457
457
return element .getElement ();
458
458
}
You can’t perform that action at this time.
0 commit comments