Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.72 KB

File metadata and controls

32 lines (22 loc) · 1.72 KB

FlareDropZone

Flare.Components.FlareDropZone

Parameters

Name Type Default Kind Required Description
Accepts Func<object?, bool>? `` Parameter Whether this zone accepts a given payload. Evaluated once when a drag starts, so a zone that says no never lights up and never takes a drop. Use it for what only the caller knows - a tree node cannot be dropped into its own descendant, a column is full, a card is locked.
ChildContent RenderFragment? `` Parameter The zone's content, normally the FlareDraggable items it holds.
Group string? `` Parameter Which drags this zone takes part in. Defaults to the enclosing context's group.
Placement DropPlacement DropPlacement.Into Parameter What the zone accepts, and therefore what a drop into it resolves to.
Target string "" Parameter Identifies this zone in OnDrop. A column id, a folder key, a list name - whatever the caller needs back to perform the move.
AdditionalAttributes IReadOnlyDictionary<string, object>? `` Parameter Additional attributes. Inherited from FlareComponentBase.
Class string? `` Parameter Additional CSS class(es) appended to the component's root element. Inherited from FlareComponentBase.
Style string? `` Parameter Inline style string appended to the component's root element. Inherited from FlareComponentBase.

Methods

DisposeAsync()

Removes this zone from its drag context. Returns: ValueTask.

Inheritance

  • FlareComponentBase
  • ComponentBase
  • object