@lit-labs/virtualizer

v0.7.0-pre.1
Virtual scrolling for Lit

lint

tslint --project ./

test

karma start karma.conf.js

bench

tach --root=../.. --browser=chrome-headless test/benchmarks/${BENCH:-basic}.html --measure=fcp

build

tsc --build --force & copyfiles -u 1 src/polyfills/resize-observer-polyfill/ResizeObserver.js .

clean

rm -r node_modules/

prepare

npm run build

checksize

rollup -c; rm lit-virtualizer.bundled.js lit-virtualizer-with-polyfills.bundled.js

test:debug

karma start karma.conf.js --single-run=false --debug

bench:debug

tach --root=../.. test/benchmarks/${BENCH:-basic}.html --measure=fcp

bench:scroll

tach --force-clean-npm-install --config=test/benchmarks/scrollingBenchmarks.json

test:screenshot

cd test/screenshot && rollup -c && mocha screenshot.js

generate-screenshots

cd test/screenshot && rollup -c && mocha screenshot.js --generate-screenshots
npm i @lit-labs/[email protected]

Metadata

Downloads