krave1986 / dractor.js Goto Github PK
View Code? Open in Web Editor NEW从 tractor 拖拉机衍生而来,把 drag 的 dra 加入名称当中,好让名称与拖拽联系起来。
从 tractor 拖拉机衍生而来,把 drag 的 dra 加入名称当中,好让名称与拖拽联系起来。
就目前来说,整个工具只能适配1列和2列的网格元素。
hotbox 在拖出来以后,会有一个大小,它的宽度会沿用网格中,一个 step 的宽度。
这就局限了 hotbox 的图形展现,只能与 列等宽 网格中,一个 span 单位的宽度一致。
参看我的文档,既然 getComputedStyle 中,
getPropertyValue( 'grid-template-columns' )
已经帮我计算好了每一列的宽度,
那我们大可以放开组件的适用环境。
对于不等列宽的 grid 网格,
最好 hotbox 和 grid 中的 token 能够根据所在位置,实时改变,那就极好了。
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.