akiran / akiran/react-slick

How to use onDragStart function with react carousel

Aperta
#1,976 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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
})
}



`

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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.