Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow external events to be dragged and dropped #106

Closed
RamitAnandSharma opened this issue Dec 21, 2016 · 3 comments
Closed

Allow external events to be dragged and dropped #106

RamitAnandSharma opened this issue Dec 21, 2016 · 3 comments

Comments

@RamitAnandSharma
Copy link

How to Drag and Drop External Events

@RamitAnandSharma
Copy link
Author

Can provide a working sample

@mattlewis92
Copy link
Owner

This should now be possible in 0.6.0. In your module:

import {CalendarModule} from 'angular-calendar';
import {DragAndDropModule} from 'angular-draggable-droppable';

imports: [
  CalendarModule.forRoot(),
  DragAndDropModule
]

and then on your external events add:

mwlDraggable
[dropData]="{event: event}"
[dragAxis]="{x: true, y: true}"

Hope that helps!

@simandi434
Copy link

simandi434 commented Sep 11, 2017

@mattlewis92
can I have any demo for this..?

AndersTornkvist pushed a commit to AndersTornkvist/angular-calendar that referenced this issue Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants