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
<list bottom-offset="{{bottomOffset}}" c-bind:scrolltobottom="onBottom" c-bind:onscroll="onScroll" height="{{winHeight}}" > <c-refresh display="{{ topRefreshing }}" c-bind:refreshevent="onrefreshUp" > </c-refresh> </list> methods = { onrefreshUp (e) { this.topRefreshing = e.detail.value setTimeout(() => { this.topRefreshing = false }, 2000) }, `onScroll(e)` { let scrollTop = e.detail.scrollTop; if (scrollTop <= 0) { this.topRefreshing = true; } } }
"dependencies": { "chameleon-api": "0.0.16", "chameleon-bridge": "0.0.10", "chameleon-runtime": "0.0.3", "chameleon-store": "0.0.3", "chameleon-ui-builtin": "0.0.4", "cml-ui": "0.0.3" }
报错信息 文件位置: /Users/macliu/Desktop/FirstChameleonTest/node_modules/chameleon-ui-builtin/components/list/list.interface 错误信息: event onscroll detail 参数校验失败 定义了Number类型的参数,传入的却是Promise,请检查所传参数是否和接口定义的一致
The text was updated successfully, but these errors were encountered:
请升级chameleon-api到0.1.0版本,在项目根目录下执行npm install -S chameleon-api@0.1.0
npm install -S chameleon-api@0.1.0
Sorry, something went wrong.
No branches or pull requests
报错信息
文件位置: /Users/macliu/Desktop/FirstChameleonTest/node_modules/chameleon-ui-builtin/components/list/list.interface
错误信息: event onscroll detail 参数校验失败
定义了Number类型的参数,传入的却是Promise,请检查所传参数是否和接口定义的一致
The text was updated successfully, but these errors were encountered: