LavaUI docs

struct DropTargetView

Swift

struct DropTargetView<Content> where Content : View

Registers perform as the drop handler for the content's root layout box.

Sources/LavaUI/DropTarget.swift:33

Constructors

init(perform: @escaping ([URL]) -> Void, content: Content)

Not documented.

Sources/LavaUI/DropTarget.swift:39

init(targeted: ((Bool) -> Void)?, springLoaded: (() -> Void)?, perform: @escaping ([URL]) -> Void, content: Content)

Not documented.

Sources/LavaUI/DropTarget.swift:43

Properties

var content: Content

Not documented.

Sources/LavaUI/DropTarget.swift:37

var dumpDetail: String { get }

Not documented.

Sources/LavaUI/DropTarget.swift:55

var perform: ([URL]) -> Void

Not documented.

Sources/LavaUI/DropTarget.swift:34

var springLoaded: (() -> Void)?

Not documented.

Sources/LavaUI/DropTarget.swift:36

var targeted: ((Bool) -> Void)?

Not documented.

Sources/LavaUI/DropTarget.swift:35

Methods

func mountPrimitive() -> any AnyViewNode

Not documented.

Sources/LavaUI/DropTarget.swift:65

func reconcilePrimitive(_ node: any AnyViewNode) -> any AnyViewNode

Not documented.

Sources/LavaUI/DropTarget.swift:69

func structureLines(indent: Int = 0) -> [String]

Not documented.

Sources/LavaUI/DropTarget.swift:57