We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code example:
<template> <scroller> <text id="top" style="height: 10000;">Hello, World!</text> <text onclick="gotoTop">Goto top</text> </scroller> </template> <script> var dom = require('@weex-module/dom') module.exports = { methods: { gotoTop: function () { var top = this.$el('top') dom.scrollToElement(top) } } } </script>
The text was updated successfully, but these errors were encountered:
The method in Android expected to receive two parameter when invoking scrollToElement()method, if only one parameter is given, nothing will happen.
This issue has fixed. The second will be 0 if only one parameter is given
Sorry, something went wrong.
Merge pull request #14 from sospartan/android-safe-run
e7648d6
* [android] make native execution not throw in most case.
YorkShen
No branches or pull requests
code example:
The text was updated successfully, but these errors were encountered: