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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?