Comments (4)
Did you install the multi backend and add import it into your app module?
from angular-skyhook.
Thanks for the quick reply. Here are the relevant parts of my app.module.ts
:
import { SkyhookDndModule } from "@angular-skyhook/core";
import { createDefaultMultiBackend } from '@angular-skyhook/multi-backend';
import { SkyhookSortableModule } from '@angular-skyhook/sortable';
...
@NgModule({
declarations: [
AppComponent,
ContainerComponent,
KanbanExternalComponent,
TrashCanComponent,
KanbanBoardComponent,
KanbanCardComponent,
KanbanListComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
SkyhookDndModule,
SkyhookSortableModule,
SkyhookDndModule.forRoot({ backendFactory: createDefaultMultiBackend })
],
providers: [
],
bootstrap: [AppComponent]
})
from angular-skyhook.
Yeah, you need the multi backend module as well. It's not documented, which is my bad.
from angular-skyhook.
(Also, in your case, you have listed SkyhookDndModule twice. Keep the second one with forRoot
.)
from angular-skyhook.
Related Issues (20)
- Skyhook 1.2.1 seems to cause a script error with Angular 8 and Edge browser. HOT 4
- bug: type error in `@angular-skyhook/multi-backend` 1.2.1 HOT 8
- SkyhookPreview out of position
- Running ng build with optimization set to true breaks this library HOT 7
- Simple sortable freeze on drop HOT 4
- Can skyhook support nested sortable lists HOT 7
- backend.backend is not a constructor HOT 6
- wrong offset in preview in chrome with win10 scaling on HOT 4
- Single backends do not work in 1.3.0 HOT 8
- Providing options is not working yet
- ivy runtime error HOT 26
- inject() must be called from an injection context HOT 1
- Multiple Drag and Drop HOT 3
- working with iframe?
- peer dependency for 1.4.0.rc-0 not updated in multi-backend
- Library breaks when enabling optimizations on Production, on v1.3.3
- skyhook-preview: binding style template via async pipe causes unnecessary change detection HOT 1
- "Cannot find namespace 'NodeJS'" and Module '"../../node_modules/react-dnd-html5-backend/lib"' has no exported member 'default'.
- Are you happy to add me as a contributor to fox the library? HOT 3
- ERROR Error: inject() must be called from an injection context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-skyhook.