(task: TaskInfo)
| 1035 | } |
| 1036 | |
| 1037 | private createRenderedTaskWrapper(task: TaskInfo): HTMLElement { |
| 1038 | const doc = this.containerEl.ownerDocument; |
| 1039 | const cardWrapper = doc.createElement("div"); |
| 1040 | cardWrapper.className = "kanban-view__card-wrapper"; |
| 1041 | cardWrapper.setAttribute("draggable", "true"); |
| 1042 | cardWrapper.setAttribute("data-task-path", task.path); |
| 1043 | const card = createTaskCard( |
| 1044 | task, |
| 1045 | this.plugin, |
| 1046 | this.getVisibleProperties(), |
| 1047 | this.getCardOptions() |
| 1048 | ); |
| 1049 | cardWrapper.appendChild(card); |
| 1050 | this.setupCardDragHandlers(cardWrapper, task); |
| 1051 | return cardWrapper; |
| 1052 | } |
| 1053 | |
| 1054 | private renderNormalTaskInDropScope( |
| 1055 | task: TaskInfo, |
no test coverage detected