ScrollIndicatorVisibility

The visibility of scroll indicators of a UI element.

StructureiOS 16.0+macOS 13.0+tvOS 16.0+watchOS 9.0+ScrollIndicatorVisibility in SwiftUI

Declaration

React
type ScrollIndicatorVisibility = 'automatic' | 'hidden' | 'never' | 'visible';
Swift
struct ScrollIndicatorVisibility

Pass a literal, or build one with SwiftUI.ScrollIndicatorVisibility from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Overview

Pass a value of this type to the View.scrollIndicators(_:axes:) method to specify the preferred scroll indicator visibility of a view hierarchy.

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Layout.