How to use the @swimlane/ngx-dnd.NgxDnDModule.forRoot function in @swimlane/ngx-dnd

To help you get started, we’ve selected a few @swimlane/ngx-dnd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github angular / ngcc-validation / projects / swimlanengx-dnd-ngcc / src / app / app.module.ts View on Github external
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { NgxDnDModule } from '@swimlane/ngx-dnd';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    NgxDnDModule.forRoot(),
    BrowserModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
github swimlane / ngx-dnd / src / app / app.module.ts View on Github external
import { BuilderModule } from './builder/builder.module';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    CommonModule,
    BrowserModule,
    BuilderModule,
    LoadingBarModule.forRoot(),
    LoadingBarHttpClientModule,
    LoggerModule.forRoot({ level: NgxLoggerLevel.WARN }),
    DocspaCoreModule.forRoot(config, environment),
    MarkdownModule.forRoot(preset),
    NgxDnDModule.forRoot(),
    MarkdownElementsModule.forRoot(),
    RuntimeContentModule.forRoot({
      imports: [
        CommonModule,
        NgxDnDModule,
        BuilderModule
      ]
    }),
    DocsifyPluginsModule.forRoot({
      plugins: []
    })
  ],
  providers: [
    Location,
    { provide: LocationStrategy, useClass: HashLocationStrategy }
  ],

@swimlane/ngx-dnd

Drag and Drop for Angular2 and beyond!

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis

Popular @swimlane/ngx-dnd functions