akiran / akiran/react-slick

How to use onDragStart function with react carousel

オープン
#1,976 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。