本文へ移動

@eightkk/vue-weave / core / boardCardPosition

Function: boardCardPosition() ​

boardCardPosition(cards, id, options?): TaskBoardPosition

Defined in: src/core/taskBoard.ts:265

The position of one card: its column, its lane when lanes is true and its index among the cards of the same cell in cards order. Throws an Error for an unknown card ID.

Parameters ​

cards ​

readonly TaskBoardCard<unknown>[]

id ​

string

options? ​

lanes? ​

boolean

Returns ​

TaskBoardPosition

MIT ライセンスで公開しています。