@dolphinweex/weex-vue-render 0.2.31 → 0.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5930,7 +5930,8 @@ var scrollable$1 = {
5930
5930
  this._loadmoreReset = false;
5931
5931
  var el = this.$el;
5932
5932
  if (el) {
5933
- weex.utils.dispatchNativeEvent(el, 'loading');
5933
+ var eventName = this.weexType === 'scroller' ? 'loadmore' : 'loading';
5934
+ weex.utils.dispatchNativeEvent(el, eventName);
5934
5935
  }
5935
5936
  }
5936
5937
  }
@@ -6067,6 +6068,12 @@ var scrollable$1 = {
6067
6068
  }
6068
6069
  }
6069
6070
  delete this._touchParams;
6071
+ },
6072
+ handleScrollEnd: function handleScrollEnd (event) {
6073
+ var el = this.$el;
6074
+ if (el) {
6075
+ weex.utils.dispatchNativeEvent(el, 'scrollend', {});
6076
+ }
6070
6077
  }
6071
6078
  }
6072
6079
  };
package/package.json CHANGED
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "git+ssh://git@github.com/weexteam/weex-vue-render.git"
51
51
  },
52
- "version": "0.2.31"
52
+ "version": "0.2.32"
53
53
  }