Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTabIndexForListItemChildren: (listItemIndex: number, tabIndexValue: string) => {
const listItemChildren = [].slice.call(this.items.toArray()[listItemIndex].getListItemElement()
.querySelectorAll(strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX));
listItemChildren.forEach((ele: Element) => ele.setAttribute('tabindex', `${tabIndexValue}`));
},
hasCheckboxAtIndex: (index: number) => {