Kanban
(part of package 'kanban') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
This is a reference page; many components have detailed usage guides here.
Properties
boards
Type: Array<CustomType<svykanban-board.boardItem>>
dragBoards
Type: Boolean
dragItems
Type: Boolean
gutter
Type: String
itemAddOptions
Type: CustomType<svykanban-board.itemAddOptions>
itemHandleOptions
Type: CustomType<svykanban-board.itemHandleOptions>
responsivePercentage
Type: Boolean Default Value: false
widthBoard
Type: String
Events
buttonClick(el,boardId,event)
callback when the board's button is clicked
Parameters:
click(taskID,event)
callback when any board's item are clicked
Parameters:
dragBoard(el,source)
callback when any board stop drag
Parameters:
dragEl(el,source)
callback when any board's item are clicked
Parameters:
dragendBoard(el)
callback when any board stop drag
Parameters:
{Object} el
dragendEl(el)
callback when any board's item stop drag
Parameters:
{Object} el
dropEl(el,target,source,sibling)
callback when any board's item drop in a board
Parameters:
API
addBoards(boardItems)
Adds all the boards to be displayed by the component, any previous boards will be replaced by the new ones
Parameters:
{Array<boardItem>} boardItems An array of board items to be displayed, replacing any existing boards.
addElement(boardID,element,position)
Adds an item to a specific Board
Parameters:
updateElement(elementID,element)
Updates the title of an existing item
Parameters:
Types
boardItem
scripting type: CustomType<svykanban-board.boardItem>
class
Type: styleclass
dragTo
Type: string[]
id
Type: string
item
Type: item[]
tabindex
Type: string
title
Type: string
item
scripting type: CustomType<svykanban-board.item>
class
Type: styleclass
id
Type: string
priority
Type: string
title
Type: string
itemAddOptions
scripting type: CustomType<svykanban-board.itemAddOptions>
class
Type: string
content
Type: string
Default Value: "+"
enabled
Type: boolean
Default Value: false
footer
Type: boolean
itemHandleOptions
scripting type: CustomType<svykanban-board.itemHandleOptions>
customCssHandler
Type: string
customCssIconHandler
Type: string
customHandler
Type: string
enabled
Type: boolean
Default Value: false
handleClass
Type: string
Last updated
Was this helpful?