Function orderTabAndContent

  • orderTabAndContent

    Parameters

    Returns Promise<void>

    Deprecated

    Description

    Controls the order of elements within a tab, so that the order of elements focused by tab focus is tab1.title -> tab1.item1.....itemN -> tab2.title -> tab2.item.... This is achieved by binding the focus event to the elements and changing tabIndex, therefore there can't be any other focusable elements between tab['title'] and tab['items'] Tab data interface: { titleElement: HTMLElement, itemsWrapper: HTMLElement, itemElements: HTMLElement[], }