# 文档滚动时

## 示例
```js
myComponent.event.onScroll(function(scrollTop) {
});
```

## 返回
|属性|	类型|	说明|
| ---|----- | ------- | 
|scrollTop|	Number |滚动距离|