← Form Builder and Drag Drop API

Interface · v2.7.0

DndCanDropPayload

DndCanDropPayload interface exported by the ngbootstrap package API.

Import

import type { DndCanDropPayload } from '@angular-bootstrap/ngbootstrap';

Declaration

interface DndCanDropPayload<T = unknown>

Properties

dragItem

dragItem: T

srcList

srcList: T[]

srcIndex

srcIndex: number

dstList

dstList: T[]

dstIndex

dstIndex: number

isExternal

isExternal: boolean
Source: src/drag-drop/src/directive/dnd-list.directive.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.