How to use onDragStart function with react carousel
Aperta
- Lingua principale
- JavaScript
- Stelle
- 11.9k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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)}>
....
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.