Yao 367a23ed48 Fix waterfall hide bug (#166)
* fix: waterfall: prevent loadMore after hide

* feat: add waterfall hidden test && remove waterfall auto install

* delete useless code
2017-09-30 03:41:33 -05:00

10 lines
242 B
JavaScript

import Waterfall from './directive.js';
const install = function(Vue) {
Vue.directive('WaterfallLower', Waterfall('lower'));
Vue.directive('WaterfallUpper', Waterfall('upper'));
};
Waterfall.install = install;
export default Waterfall;