Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.07 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.07 KB

Angular 2.4.x Compatible

Installation

To install this library and its dependencies, run:

$ npm install @goldsam/ng-golden-layout golden-layout --save
$ npm install @types/jquery --save-dev

Getting Started

First, import GoldenLayoutModule into your root AppModule

import {GoldenLayoutModule} from '@goldsam/ng-golden-layout';

Then, add GoldenLayoutModule.forRoot() to your AppModule's import array

@NgModule({
  imports : [
    CommonModule, 
    GoldenLayoutModule.forRoot({
        ...
    })), 
    ...
  ],
  ...
})
export class AppModule {}

TODO

  1. Implement support for saving/restoring golden-layout state.
  2. Improve this README
  3. Create unit and E2E tests

Development

To generate all *.js, *.js.map and *.d.ts files:

$ npm run tsc

License

MIT © Sam Goldmann