myprint-design
Version:
操作简单,组件丰富的一站式打印解决方案打印设计器
27 lines (23 loc) • 580 B
JavaScript
;
var Selecto = require('selecto');
var vueDemi = require('vue-demi');
const selecto = vueDemi.ref();
function newSelecto() {
selecto.value = null;
}
function initSelecto() {
if (!selecto.value) {
selecto.value = new Selecto({
container: document.querySelector(".design-content-scroll"),
rootContainer: null,
selectByClick: true,
selectFromInside: false,
hitRate: 0,
ratio: 0
});
}
}
exports.initSelecto = initSelecto;
exports.newSelecto = newSelecto;
exports.selecto = selecto;
//# sourceMappingURL=selecto.js.map