File

src/dnd.module.ts

Description

Use this for providing backends that need configuring before use to SkyhookDndModule.

For use with the MultiBackend:

```typescript

  • import { createDefaultMultiBackend } from '@angular-skyhook/multi-backend';
  • // ...
  • SkyhookDndModule.forRoot({ backendFactory: createDefaultMultiBackend })

or with the TouchBackend by itself:

```typescript

  • export function createTouchBackend() {
  • return TouchBackend({ enableMouseEvents: false });
  • }
  • // ...
  • SkyhookDndModule.forRoot({ backendFactory: createTouchBackend })

You have to do this to retain AOT compatibility.

Index

Properties

Properties

backendFactory
backendFactory: function
Type : function

See above.

debug
debug: boolean
Type : boolean
Optional

result-matching ""

    No results matching ""