Skip to main content

currentUser

Description

Optional. An ID of the current user

note

The current user ID needs to correspond to one of the IDs specified in the cardShape.users property. If you do not specify this ID, the comments will be available only for reading.

Usage

currentUser?: string | number; 

Example

new kanban.Kanban("#root", {
cards,
columns,
currentUser: 1,
// other parameters
});

Change log: The property was added in v1.4

Related sample: Kanban. Swimlanes, comments, votes