vue版本useAutoAnimate允许传入el,兼容旧版
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| auto-animate | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 6, 2023 8:51am |
Sorry, not sure what this PR improves exactly — can you help clear that up for me?
Sorry, not sure what this PR improves exactly — can you help clear that up for me?
Sorry for my poor English, the following passage is from Google Translate。 If you want to use the ref variable returned by your function to bind the vue component, my modification allows the user to pass in the ref variable of the bound component while retaining the original usage method.
Sorry still not following what API this enabled. Could you share a code sample of what the desired API is?
Sorry still not following what API this enabled. Could you share a code sample of what the desired API is?
I submitted a sample code that can be run directly. I just added a new parameter based on the original one to implement a new usage method without any impact on the original usage method.
Now ref can not only bind native html tags, but also bind custom components of vue.
Can it be allowed