Skip to main content

currentUser

Description

Optional. Specifies 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 is not set, comments will be available 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 v1.4

Related sample: Kanban. Swimlanes, comments, votes