Skip to content

AppSetting.focusNextSettingItem method

AppSetting › focusNextSettingItem

Unofficial

Moves focus to the setting item at the given offset from the given one.

Signature:

focusNextSettingItem(settingEl: HTMLElement, direction: number): void

Parameters:

Parameter Type Description
settingEl HTMLElement The current setting item element.
direction number The offset to move by (e.g. 1 or -1).

Returns: void