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

on-drag-start and on-drag-end callbacks don't work with minified version #20

Open
n3ko1 opened this issue Mar 9, 2017 · 0 comments
Open

Comments

@n3ko1
Copy link

n3ko1 commented Mar 9, 2017

When using the minified version of this library, passed functions via on-drag-start or on-drag-end are not found by $parse and thus not executed.

Also, the documentation for this feature is incorrect:
https://github.com/jellekralt/angular-drag-scroll#events

If one uses onDragStart (camel case), this equates to $attributes.ondragstart (lower case) in the directives link function. This will be undefined! Correct usage is: on-drag-start="doStuff()".

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

1 participant