golden-layout

The ultimate Javascript layout manager

Github星跟踪图

Golden Layout NPM version Build Status

Screenshot

https://golden-layout.com/

Installation

This fork uses Webpack and features a double tree:

  • src/js/ -> Prototype-based official source untouched (REQUIRES loading JQuery externally)
  • src/js_es6/ -> source converted to ES6 modules, with bugfixes, full touch support (BUNDLES JQuery or Zepto)

When you build either types, the library will be in dist/js/goldenlayout.js.

For ES6 GoldenLayout is the default export, while all other components have named exports (details in js_es6/index.js)

To make the environment ready, clone, cd to project dir, and run:

npm i

Then to start/build each tree run the following:

Prototype-based

start: npm run start

build: npm run build

ES6-based / JQuery

start: npm run start_es6j

build: npm run build_es6j

ES6-based / Zepto

start: npm run start_es6z

build: npm run build_es6z

Features

  • Full touch support
  • Native popup windows
  • Completely themeable
  • Comprehensive API
  • Powerful persistence
  • Works in IE8+, Firefox, Chrome
  • Reponsive design

Dependencies

  • JQuery or Zepto

Examples

License

MIT

主要指标

概览
名称与所有者golden-layout/golden-layout
主编程语言JavaScript
编程语言JavaScript (语言数: 6)
平台
许可证MIT License
所有者活动
创建于2014-10-05 07:29:06
推送于2024-08-15 14:22:59
最后一次提交2023-04-07 14:05:55
发布数33
最新版本名称v2.6.0 (发布于 2022-09-26 08:55:38)
第一版名称v1.0.1 (发布于 2014-10-05 09:54:58)
用户参与
星数6.4k
关注者数113
派生数543
提交数755
已启用问题?
问题数667
打开的问题数94
拉请求数155
打开的拉请求数10
关闭的拉请求数57
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?