shadow
The Kanban component is an element that displays a full-size Kanban table. It allows you to manage tasks and projects using a visual interface.
The Kanban board is divided into columns, with each column representing a specific process phase or task category.
Tasks are displayed as tabs that can be moved between columns to set and track their current status.
Use wje-kanban when you need a consistent WebJET-based implementation for this UI concern.
Do not stretch the component beyond its responsibility; compose smaller primitives for edge cases.
Validate keyboard behavior, focus states, contrast, and meaningful labels for interactive elements.
- Prefer component APIs over direct DOM manipulation.
- Stick to design tokens and naming conventions.
- Test components with realistic data before production rollout.
totalPages
| Description | Sets the numeric value used for total-pages. |
| Attribute | total-pages |
| Type | number |
| Default | 0 |
| Description | Defines the list of values managed through is-loading. |
| Attribute | is-loading |
| Type | array |
| Default | [] |
| Description | Controls whether is-dragging is enabled and affects component behavior. |
| Attribute | is-dragging |
| Type | boolean |
| Default | false |
| Description | Controls item selection behavior for selected-cards. |
| Attribute | selected-cards |
| Type | array |
| Default | [] |
No events available for this component.
| Description | Sets up the drag and drop events for the component. |
| Signature | () => void |
| Description | Sets up the select all cards event for the component. |
| Signature | () => void |
| Description | Sets up the menu item click events for the component. |
| Signature | () => void |
| Description | Updates the selected cards in the pool. |
| Signature | (pool: HTMLElement, isChecked: boolean) => void |
| Description | Moves the pool in the specified direction. |
| Signature | (pool: HTMLElement, direction: string) => void |
| Description | Renames the pool. |
| Signature | (pool: HTMLElement) => void |
| Description | Gets the card placeholder. |
| Signature | () => null|* |
| Description | Adds a live event listener to the component. |
| Signature | (eventType: string, selector: string, callback: function) => void |
| Description | Sets the selected cards. |
| Signature | (isChecked: boolean, card: HTMLElement) => void |
| Description | Sets the selected items. |
| Signature | () => void |
getPages
| Description | Fetches the pages. |
| Signature | (page: any) => Promise<any> |
| Description | Dispatches a custom event from the component context. |
| Signature | (event: any) => void |
| Name | Description |
|---|
native-infinite-scroll | Styles the native part of the Kanban board. |
No CSS custom properties available for this component.
| Name | Description |
|---|
default | The default slot for the Kanban board. |