@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
12 lines (11 loc) • 431 B
JavaScript
;
var globalConfig = require("../_utils/global-config.js");
var overflowList = require("./overflow-list.js");
const OverflowList = Object.assign(overflowList, {
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + overflowList.name, overflowList);
}
});
module.exports = OverflowList;