Contents

focusable(_:)

Specifies if the view is focusable.

Declaration

nonisolated func focusable(_ isFocusable: Bool = true) -> some View

Parameters

  • isFocusable:

    A Boolean value that indicates whether this view is focusable.

Return Value

A view that sets whether a view is focusable.

See Also

Indicating that a view can receive focus