How to use onDragStart function with react carousel
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 11.9k
- Forks
- 2.1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I know react slick start to translate your element whenever you drag it. I also want to add a little rotation on the top of it. I tried adding onDragStart function on both the carousel parent and child element. but it did not work.
//first method
`
console.log('hi')} onDragEnd={e => this.classList.remove('dragging')} onMouseMove={e=>cursorFunc(e)}>
{
services.map((service, index) => {
return
})
}
`
{
services.map((service, index) => {
return
})
}
and the second method inside Service card
handleDragEnter(e)}>
....
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.