dragula-touch-demo | working example of using dragula | Frontend Framework library
kandi X-RAY | dragula-touch-demo Summary
kandi X-RAY | dragula-touch-demo Summary
A working example of using dragula on a touchscreen! Includes:. Created in response to ng2-dragula/597.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dragula-touch-demo
dragula-touch-demo Key Features
dragula-touch-demo Examples and Code Snippets
Community Discussions
Trending Discussions on dragula-touch-demo
QUESTION
I'm new to Angular in the last few weeks. For a work project, I want the window to scroll up or down when I drag a DOM element to the top or bottom of the window.
I'm following an example for integrating dragula and dom-autoscroller into my application, since dragula doesn't have autos-crolling built in. I'm following this example from an angular application which uses touch and another on codepen which uses dragula and auto-scroller together.
From the examples, I created this logic:
...ANSWER
Answered 2020-Jan-29 at 03:50So the answer is... Don't use Dragula if you need auto-scrolling. Instead use Angular Material's CDK drag and drop. It has auto-scrolling built in. Check it out:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dragula-touch-demo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page