Skip to content

AppSetting.focusNavItemAt method

AppSetting › focusNavItemAt

Unofficial

Focuses the nav item at the given index. Does nothing when there is no item at that index.

Signature:

focusNavItemAt(index: number, navItems?: unknown[]): void

Parameters:

ParameterTypeDescription
indexnumberThe index of the nav item.
navItems?unknown[]The nav items to index into. Defaults to {@link AppSetting.getNavigableNavItems}.

Returns: void