Skip to main content

cardHeight

Description

Optional. A height of cards

Usage

cardHeight?: number; // px
important

If you combine the renderType: "lazy" and scrollType: "default" settings, don't forget to specify a static height for cards via the cardHeight property. Unless you specify it, the cards will not be displayed.

Example

new kanban.Kanban("#root", {
cards,
columns,
cardHeight: 150, // px
// other parameters
});

Change log: The property was added in v1.2

Related articles: Configuration

Related sample: Kanban. Lazy rendering and column scroll