Skip to content

Commit

Permalink
docs: scroll-view
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Dec 5, 2019
1 parent 508cb8d commit 58b3e48
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/components/viewContainer/scroll-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,10 @@ export default class PageView extends Component {
super(...arguments)
}

onScrollToUpper(e){
console.log(e.detail)
}
onScrollToUpper() {}

// or 使用箭头函数
// onScrollToUpper = (e) => {
// console.log(e.detail)
// }
// onScrollToUpper = () => {}

onScroll(e){
console.log(e.detail)
Expand Down

0 comments on commit 58b3e48

Please sign in to comment.