English
@eightkk/vue-weave / core / TaskBoardSvgOptions
Interface: TaskBoardSvgOptions<C>
Defined in: src/core/exportBoardSvg.ts:15
Options of renderTaskBoardSvg. C types the cards that filter, cardLabel and cardDetail receive.
Extends
Type Parameters
C
C extends TaskBoardCard = TaskBoardCard
Properties
background?
optionalbackground?:boolean
Defined in: src/core/svgExportShared.ts:96
Paint an opaque background. Default true.
Inherited from
cardDetail?
optionalcardDetail?: (card) =>string|undefined
Defined in: src/core/exportBoardSvg.ts:37
Card detail text. Defaults to card.detail.
Parameters
card
C
Returns
string | undefined
cardLabel?
optionalcardLabel?: (card) =>string
Defined in: src/core/exportBoardSvg.ts:35
Card title text. Defaults to card.label.
Parameters
card
C
Returns
string
collapsedColumnIds?
optionalcollapsedColumnIds?:Iterable<string,any,any>
Defined in: src/core/exportBoardSvg.ts:21
Columns drawn as narrow strips with their label turned, as TaskBoard collapsedColumnIds. Unknown IDs are ignored.
collapsedColumnWidth?
optionalcollapsedColumnWidth?:number
Defined in: src/core/exportBoardSvg.ts:31
Width of a collapsed column in pixels. Default 44.
collapsedLaneIds?
optionalcollapsedLaneIds?:Iterable<string,any,any>
Defined in: src/core/exportBoardSvg.ts:23
Lanes drawn as their header only, as TaskBoard collapsedLaneIds. Unknown IDs are ignored.
columnWidth?
optionalcolumnWidth?:number
Defined in: src/core/exportBoardSvg.ts:29
Width of an expanded column in pixels. Default 232.
direction?
optionaldirection?:"ltr"|"rtl"
Defined in: src/core/svgExportShared.ts:100
Text direction of labels. For timelines, rtl also mirrors the time axis and places row headings on the right.
Inherited from
filter?
optionalfilter?: (card) =>boolean
Defined in: src/core/exportBoardSvg.ts:19
As TaskBoard filter: only the cards it accepts are drawn; counts show "shown of all" while it hides cards.
Parameters
card
C
Returns
boolean
fontFamily?
optionalfontFamily?:string
Defined in: src/core/svgExportShared.ts:92
CSS font-family list written on the root element.
Inherited from
idPrefix?
optionalidPrefix?:string
Defined in: src/core/svgExportShared.ts:98
Prefix for the IDs of markers and clip paths, so several exports can be inlined in one page. Default vw-export.
Inherited from
labels?
optionallabels?:Partial<TaskBoardSvgLabels>
Defined in: src/core/exportBoardSvg.ts:27
Texts; omitted ones use the English TaskBoard defaults.
lanes?
optionallanes?: readonlyTaskBoardLane[]
Defined in: src/core/exportBoardSvg.ts:17
Swimlanes, as TaskBoard lanes. Without lanes (or with an empty array) the board has one row of cells.
padding?
optionalpadding?:number
Defined in: src/core/exportBoardSvg.ts:33
Margin around the board and gap between columns, in pixels. Default 10.
selectedId?
optionalselectedId?:string
Defined in: src/core/exportBoardSvg.ts:25
A card drawn in the selected style.
theme?
optionaltheme?:SvgExportThemeInput
Defined in: src/core/svgExportShared.ts:90
Colours; omitted values use defaultSvgExportTheme. Each is a CSS colour value (hex, a colour name or keyword, or one of the colour functions such as rgb(), color-mix() or var()); anything else throws a RangeError.
Inherited from
title?
optionaltitle?:string
Defined in: src/core/svgExportShared.ts:94
Document title, written as <title> and the accessible name.
Inherited from
wipUnderColor?
optionalwipUnderColor?:string
Defined in: src/core/exportBoardSvg.ts:41
Colour of the under-minimum warning (--vw-board-wip-under). Default #8a5a00.
wipWarningColor?
optionalwipWarningColor?:string
Defined in: src/core/exportBoardSvg.ts:39
Colour of the over-limit warning (--vw-board-wip-warning). Default #a8361f.