this.handleDragStart(e, index)}
@dragend=${this.handleDragEnd}
@dragover=${(e: DragEvent) => this.handleDragOver(e, index)}
@dragleave=${this.handleDragLeave}
@drop=${(e: DragEvent) => this.handleDrop(e, index)}
>
${this.sortable && !this.disabled ? html`
${this.editingIndex === index ? html`
this.editingValue = (e.target as HTMLInputElement).value}
@keydown=${(e: KeyboardEvent) => this.handleEditKeyDown(e, index)}
@blur=${() => this.saveEdit(index)}
/>
` : html`
!this.disabled && this.startEdit(index)}>
${item}
`}