vue-next-directive
Version:
17 lines (16 loc) • 469 B
JavaScript
import Loading from "./directives/loading/index.js";
import Lazy from "./directives/lazy/index.js";
import debounceInput from "./directives/debounceInput/index.js";
import "vue";
var index = {
install(app, option) {
if (!option) {
option = { name: "lazy" };
}
if (!option.name) {
option.name = "lazy";
}
app.directive("loading", Loading).directive("debounceInput", debounceInput).use(Lazy, option);
}
};
export { index as default };