Hosanna UI API v1.30.2-next
    Preparing search index...

    Interface representing a focus resolver, responsible for determining the next focusable element.

    interface IFocusResolver {
        focusOnNextControlInDirection(
            direction: api.Direction,
            fromView?: IFocusable,
        ): undefined | IFocusable | NextViewFocus;
    }
    Index

    Methods

    • Resolves the next focusable element in the specified direction.

      Parameters

      • direction: api.Direction

        The direction in which to resolve the next focusable element.

      • OptionalfromView: IFocusable

        The view from which the focus transition is initiated.

      Returns undefined | IFocusable | NextViewFocus

      The next focusable element, or undefined if none exists.