
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.
ngx-golden-layout-2
Advanced tools
This library allows for Angular 12+ applications to easily use [Golden Layout](http://golden-layout.com/).
This library allows for Angular 12+ applications to easily use Golden Layout.
The package ngx-golden-layout has fallen out of maintenance and is now 4 major releases behind Angular and 2 major releases behind GoldenLayout. The package is also close sourced.
To see this package in action, run:
npm i && npm start
npm i ngx-golden-layout-2 golden-layout
@NgModule({
declarations: [...],
imports: [NgxGoldenLayoutModule.forRoot()], // Add this line
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {
...
}
import {
NgxGoldenLayoutModule,
GoldenLayoutManagerService,
} from "ngx-golden-layout-2";
@NgModule({
...
imports: [NgxGoldenLayoutModule.forRoot()],
...
})
export class AppModule {
constructor(private _goldenLayoutManagerService: GoldenLayoutManagerService) {
this._goldenLayoutManagerService.registerComponentTypes([
{ name: TextComponent.name, componentType: TextComponent },
{ name: ColorComponent.name, componentType: ColorComponent },
{ name: BooleanComponent.name, componentType: BooleanComponent },
]);
}
}
import {
GoldenLayoutHostComponent,
GoldenLayoutManagerService,
} from "ngx-golden-layout-2";
@Component({
template: `
<golden-layout-host #goldenLayoutHost></golden-layout-host>
`,
})
export class AppComponent implements AfterViewInit {
@ViewChild("goldenLayoutHost")
private _goldenLayoutHostComponent: GoldenLayoutHostComponent;
constructor(
private _goldenLayoutManagerService: GoldenLayoutManagerService
) {}
ngAfterViewInit() {
this._goldenLayoutManagerService.setGoldenLayoutHostComponent(
this._goldenLayoutHostComponent
);
}
}
this._goldenLayoutManagerService.addComponent(componentType);
FAQs
This library allows for Angular 12+ applications to easily use [Golden Layout](http://golden-layout.com/).
We found that ngx-golden-layout-2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.