Instance Method

moveDisabled(_:)

Adds a condition for whether the view's view hierarchy is movable.

Declaration

func moveDisabled(_ isDisabled: Bool) -> some View

See Also

Hiding and Disabling Views

func hidden() -> View

Hides the view.

func disabled(Bool) -> View

Adds a condition for whether users can interact with the view.

func deleteDisabled(Bool) -> View

Adds a condition for whether the view’s view hierarchy is deletable.