huodoushigemi / wc-flow-layout Goto Github PK
View Code? Open in Web Editor NEWHigh performance waterfall layout written using web components
License: MIT License
High performance waterfall layout written using web components
License: MIT License
就是不预设列数,现在这个预设了列数,但是items宽度是固定,导致items变形。
比如宽度能放几个就放几个,不预设cols值。
能否加入虚拟滚动呢
nuxt3引入需要额外配置吗?document以及HTMLElement在SSR阶段没有, 但是我看案例中又支持
nuxt3 cant run...
瀑布流的底部太丑了,不平整,能不能添加超过底部长度的卡片,然后用一个大盒子盖住最底层有数据的卡片的最底部,然后做一个虚化效果。就是有种镜面感觉,好像有很多没加载完一样的感觉
我是一名学生 特别好奇这个实现思路 想学习一下但是看不懂
感谢库主提供该库。
通过NPM使用在react项目中时偶现component重复定义
Failed to execute 'define' on 'CustomElementRegistry': the name "wc-waterfall" has already been used with this registry
if (!customElements.get('wc-waterfall')) { customElements.define('wc-waterfall', WaterfallElement); }
需要的话可提PR。
我用瀑布流去实现装着卡片,但是我的卡片是响应式的,我鼠标移入,卡片会伸长,漏出desc的info信息
这时候问题来了,因为长度变化,下级卡片的瀑布流就会自动把另一个卡片替换到下级。我希望已经渲染出来的卡片不会因为高度再发生计算变化,仅仅只是根据@media来发生变化。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.