UNPKG vue3-virtual-scroll-list/.lintstagedrc.json Version: 89 BJSONView Raw 1 { 2 "src/**/*.{ts,tsx}": "eslint --fix", 3 "*.{ts,tsx,js,json,md}": "prettier --write" 4 } Build: a7ebffa © 2024 UNPKG
import { createApp } from 'vue' import App from './App.vue' import Comps from 'virtual-scroll-list-liudingkang' import 'virtual-scroll-list-liudingkang/es/style.css' createApp(App).use(Comps).mount('#app') Demo const genText = (base = 15) => { const times = base + Math....
// main.ts/main.jsimport{createApp}from'vue'importAppfrom'./App.vue'// import the pluginimportVirtualScrollerPluginfrom'@lucas-labs/vue3-vsl';constapp=createApp(App);// use the plugin to make it// available in all your componentsapp.use(VirtualScrollerPlugin);app.mount('#app'); ...
Code Pull requests Actions Projects Security Insights Additional navigation options main 1Branch 38Tags Code This branch is up to date withrocwang/vue-virtual-scroll-grid:main. Repository files navigation README License Virtual Scroll Grid for Vue 3 ...
4 changes: 2 additions & 2 deletions 4 src/virtual-list/demo/App2.ts Original file line numberDiff line numberDiff line change @@ -121,7 +121,7 @@ export default defineComponent({ ]), h('button', { onClick: () => { this.listElRef.scrollTo({ key: 2000, behavior: this....
const genText = (base = 15) => { const times = base + Math.ceil((Math.random() - 0.5) * base); return Array(times) .fill(1) .map(() => 'every') .join(' '); }; const mockData = (num = 20) => { let data = []; for (let index = 0; index < num; index++) ...
Actions Security Insights Additional navigation options main BranchesTags Code README MIT license Virtual Scroll Grid for Vue 3 This is a reusable component for Vue 3 that renders a list with a huge number of items (e.g. 1000+ items) as a grid in a performant way. ...
vite.config.ts README MIT license Virtual Scroll Grid for Vue 3 This is a reusable component for Vue 3 that renders a list with a huge number of items (e.g. 1000+ items) as a grid in a performant way. Demo NPM Package Features ...
// main.ts/main.jsimport{createApp}from'vue'importAppfrom'./App.vue'// import the pluginimportVirtualScrollerPluginfrom'@lucas-labs/vue3-vsl';constapp=createApp(App);// use the plugin to make it// available in all your componentsapp.use(VirtualScrollerPlugin);app.mount('#app'); ...