Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Structure

DragConfiguration

The Compose SwiftUI form of SwiftUI's DragConfiguration.

iOS 26.0+macOS 26.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
class DragConfiguration

Overview

This is the Kotlin form of SwiftUI DragConfiguration: SwiftUI documentation. In Swift it reads:

struct DragConfiguration

Topics

Initializers

constructor(operationsWithinApp: DragConfiguration.OperationsWithinApp = DragConfiguration.OperationsWithinApp(), operationsOutsideApp: DragConfiguration.OperationsOutsideApp = DragConfiguration.OperationsOutsideApp())
SwiftUI DragConfiguration.init(operationsWithinApp:operationsOutsideApp:)
constructor(allowMove: Boolean, allowDelete: Boolean)
SwiftUI DragConfiguration.init(allowMove:allowDelete:) · iOS: unavailable (no-op), macOS 26.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
constructor(allowMove: Boolean)
SwiftUI DragConfiguration.init(allowMove:)
constructor(allowCopy: Boolean = true, allowMove: Boolean = false, allowDelete: Boolean = false)
SwiftUI DragConfiguration.OperationsOutsideApp.init(allowCopy:allowMove:allowDelete:) · iOS: unavailable (no-op), macOS 26.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
constructor(allowCopy: Boolean = true)
SwiftUI DragConfiguration.OperationsOutsideApp.init(allowCopy:) · iOS 26.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
constructor(allowCopy: Boolean = true, allowMove: Boolean = false, allowDelete: Boolean = false)
SwiftUI DragConfiguration.OperationsWithinApp.init(allowCopy:allowMove:allowDelete:) · iOS: unavailable (no-op), macOS 26.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
constructor(allowMove: Boolean = false)
SwiftUI DragConfiguration.OperationsWithinApp.init(allowMove:) · iOS 26.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)

Types

class DragConfiguration
SwiftUI DragConfiguration
class OperationsOutsideApp
SwiftUI DragConfiguration.OperationsOutsideApp
class OperationsWithinApp
SwiftUI DragConfiguration.OperationsWithinApp