TaskBoard
Description
A board for managing tasks
TaskBoard provides a Trello-like interface with draggable columns and cards. Use it for Kanban boards and task management.
API reference
public class TaskBoard : IComponent, IHasMarginPaddingA kanban-style board with named columns and draggable cards.
Properties
public string Margin { get ; set ; }Gets or sets the CSS margin of the component.
Methods
public TaskBoard AddColumn(TaskBoardColumn column)Adds the given column to the component.
public TaskBoard Columns(params TaskBoardColumn[] columns)Defines the columns of the grid (track sizes).
public TaskBoard ReadOnly(bool isReadOnly = true)Configures the read only on the component.
public TaskBoard OnColumnDrop(Action<SortableEvent> onColumnDrop)Registers a callback invoked when the column drop event fires.
public TaskBoard OnColumnUpdate(Action<SortableEvent> onColumnUpdate)Registers a callback invoked when the column update event fires.
public TaskBoard RowMode(bool isRowMode = true)Configures the row mode on the component.
public class TaskBoardColumn : IComponentConstructors
Properties
Methods
public TaskBoardColumn OnCardDrop(Action<SortableEvent> onCardDrop)Registers a callback invoked when the card drop event fires.
public TaskBoardColumn OnCardAdd(Action<SortableEvent> onCardAdd)Registers a callback invoked when the card add event fires.
public TaskBoardColumn OnCardRemove(Action<SortableEvent> onCardRemove)Registers a callback invoked when the card remove event fires.
public TaskBoardColumn OnCardUpdate(Action<SortableEvent> onCardUpdate)Registers a callback invoked when the card update event fires.
public TaskBoardColumn Cards(params TaskBoardCard[] cards)Configures the component to cards.
public TaskBoardColumn AddCard(TaskBoardCard card)Adds the given card to the component.
public class TaskBoardCard : IComponent