Skip to main content

Kanban

shadow

Komponent Kanban je element zobrazujúci plnoohodnotnú Kanban tabuľu. Tá umožňuje spravovať úlohy a projekty pomocou vizuálneho rozhrania.

Kanban tabuľa je rozdelená do stĺpcov, pričom každý stĺpec reprezentuje určitú fázu procesu alebo kategóriu úloh. Úlohy sú zobrazené ako karty, ktoré je možné presúvať medzi stĺpcami, čím je možné nastaviť a sledovať ich aktuálny stav.

Základné použitie

Atribúty a Vlastnosti

response

DescriptionSets or gets the response data from the API.
Attributeresponse
Typeany
Default{}

selectedItems

DescriptionSets or gets a list of selected items.
Attributeselected-items
Typeany[]
Default[]

url

DescriptionContains a URL or URL fragment with the data to be retrieved and displayed.
Attributeurl
Typestring | undefined
Defaultundefined

Eventy

No events available for this component.

Metódy

getPages

DescriptionRetrieves pages of data from the API.
Signature(page?: number) => Promise<any>

getPool

DescriptionOrganizes data into groups by state.
Signature(data: any[], poolName: string) => any

htmlPool

DescriptionCreates HTML for the group.
Signature(title: string, countItems: number) => Element

htmlCard

DescriptionCreates HTML for the tab.
Signature(item: Object) => Element

setSelectedCards

DescriptionSets the selected cards.
Signature(isChecked: boolean, card: HTMLElement) => void

CSS Shadow Parts

NameDescription
native-infinite-scrollRefers to the main div container of the Kanban element.

CSS Custom Vlastnosti

No CSS custom properties available for this component.

Sloty

NameDescription
``The default content slot for the Kanban element.