Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR]: 希望Drag组件能添加位置变化的回调 #2414

Closed
deng-yc opened this issue Jul 4, 2024 · 0 comments · Fixed by #2418
Closed

[FR]: 希望Drag组件能添加位置变化的回调 #2414

deng-yc opened this issue Jul 4, 2024 · 0 comments · Fixed by #2418
Assignees

Comments

@deng-yc
Copy link

deng-yc commented Jul 4, 2024

这个功能解决了什么问题?

可保存拖动后的位置,以便下次加载是保存的位置

你期望的组件设计是怎样的?

onChange={ (info:{ left?:number,right?:number,top?:number,bottom?:number })=>{
console.log(info)
} }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants