whychdw
2019-12-02 122f5f304b274d069a88a80839268707cb5afc33
platforms/android/app/src/main/assets/www/js/componets.js
@@ -592,13 +592,16 @@
    });
};
BarChart.prototype.setOption = function (option) {};
Vue.directive('swipeleft', {
var FragmentFactory = Vue.FragmentFactory;
var remove = Vue.util.remove;
var createAnchor = Vue.util.createAnchor;
console.log(createAnchor);
console.log(FragmentFactory);
// 定义v-lazy指令
Vue.directive('lazy', {
    terminal: true,
    // 当绑定元素插入到 DOM 中。
    inserted: function inserted(el) {
        var pinch = new Hammer.Pinch();
        var rotate = new Hammer.Rotate();
        pinch.recognizeWith(rotate);
        console.log(pinch);
        console.log(Vue.FragmentFactory);
    }
});