golden-layout-bit
v2.6.1
Published
A multi-screen javascript Layout manager (fork of golden-layout with bug fixes)
Maintainers
Readme
Golden Layout (bit fork)
这是基于 [email protected] 的 fork 版本,发布为 npm 包
golden-layout-bit。 原项目使用 MIT 协议,本 fork 同样以 MIT 协议发布,并保留上游版权声明。
Golden Layout is a Javascript layout manager which enables you to layout components in a web page and re-arrange them with drag and drop. Its features include:
- Native popup windows
- Touch support
- Support for application frameworks such as Angular and Vue
- Virtual components
- Comprehensive API
- Load and save layouts
- Focus components
- Completely themeable
- Works in modern browsers (Firefox, Chrome)
- Responsive design
与上游版本的差异
本 fork 在 [email protected] 之上做了以下修改:
- fix(config): 处理非字符串类型的
size配置输入 —— 增强splitStringAtFirstNonNumericChar对非字符串输入的健壮性 - fix: 优化
splitStringAtFirstNonNumericChar的非字符串输入处理 —— 避免在size不是字符串时抛出异常 - fix: 修复元素显示隐藏逻辑与配置解析问题 —— 元素隐藏改用
gl-hidden类并结合离屏定位,而非display:none - build: commit
dist/so consumers can install directly from this fork —— 构建产物直接随仓库发布,方便直接npm install
完整改动可参考本仓库的 commit 历史。
致谢
- 上游项目:golden-layout/golden-layout —— 原始作者 deepstream.io 团队及后续贡献者
- 许可证:MIT(与上游一致)
Development
Except for simple bug-fixes, commits should go into the dev branch, which will become version 3.0. The dev branch is quite unstable (and not backwards compatible), but should hopefully stabilize soon.
Installation
See the instructions here.
More information
For more information, please refer to the Golden Layout website
