Skip to main content

currentUser

Description

Optional. Represents the ID of the current user

note

The current user ID should match one of the IDs listed in the cardShape.users property. If this ID isn't provided, comments will be accessible only in read-only mode.

Usage

currentUser?: string | number; 

Example

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

Change log: This property was introduced in version 1.4

Related sample: Kanban. Swimlanes, comments, votes