Skip to main content

BoardColumn

Function BoardColumn 

Source
pub fn BoardColumn<T: Clone + PartialEq + 'static>(
    _: BoardColumnProps<T>,
) -> Element
Expand description

A column that receives BoardItems. Emits MoveEvent with to.1 = None (append). For precise within-column positions, nest BoardSlots between items.

§Props

For details, see the props struct definition.

  • id : ContainerId

    Stable identity for this column.

  • label : Option<String>

    Human label for screen-reader announcements (“Over {label}”).

  • on_move : EventHandler<MoveEvent<T>>
  • accepts : Option<Callback<BoardPayload<T>,bool>>

    Reject payloads (e.g. WIP limits). Receives the full payload.

  • attributes : Vec<Attribute>
  • children : Element