Skip to content

v1.0.6: fix forRoot with plain backends; support testing

Compare
Choose a tag to compare
@cormacrelf cormacrelf released this 19 Jun 12:36
· 763 commits to master since this release

Fixes SkyhookDndModule.forRoot({ backend: HTML5Backend }), which was failing due to misuse of the very confusing names for BackendFactory.

Also, exposes getHandlerId() to sources and targets so you can use them in your tests.

See here for an example of testing with react-dnd-test-backend.