Closed zengxiaoting closed 5 years ago
I found the scrollTo
method with the @JSMethod
annotation in the Android code WXRecyclerTemplateList.java
. How do I call it in weex?
Weex already supports scrollTo
in native. The problem is how to pass the precise ref
to native within recycle-list.
Native renderer generate a mock structure for Elements which contains the ref
attribute may be a practical way to solve it. We are working on it now. As far as I can see, the API would not be changed.
这个目前有进展么?
It has already been supported, try this demo http://dotwe.org/vue/c4dfb6367159e9dcaf210c4c29059f20
It has already been supported, try this demo http://dotwe.org/vue/c4dfb6367159e9dcaf210c4c29059f20
Not working, Please check
when will the recycle-list support the Dom API scroolToElement, or providing another API to support scroll to specific height is also OK.