Instance Method

deleteDisabled(_:)

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

Declaration

func deleteDisabled(_ 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 moveDisabled(Bool) -> View

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