akiran / akiran/react-slick

How to use onDragStart function with react carousel

Abierto
#1,976 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.9k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)}>
....

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.