← Form Builder and Drag Drop API

Class · v2.7.0

NgbDndState

NgbDndState class exported by the ngbootstrap package API.

Import

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

Declaration

Properties

active

readonly active: i0.WritableSignal<boolean>

i18n

i18n: DndI18n

announce

announce?: (m: string) => void

Methods

createSession

createSession<T>(session: DndSession<T>): string

get

get(id: string | null): DndSession | null

getCurrent

getCurrent(): DndSession | null

setActiveDropList

setActiveDropList(list: unknown): void

getActiveDropList

getActiveDropList(): unknown | null

clearActiveDropList

clearActiveDropList(list?: unknown): void

clear

clear(id?: string | null): void

Referenced types

Source: src/drag-drop/src/service/drag-state.service.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.