@goldsam/ng-golden-layout
Version:
Angular bindings for golden-layout
24 lines (23 loc) • 649 B
TypeScript
import { OpaqueToken, Type } from '@angular/core';
import * as GoldenLayout from 'golden-layout';
export interface ComponentConfiguration {
/**
* Name used to register compoent with GoldenLayout.
*/
componentName: string;
/**
* Angular component type.
*/
component: Type<any>;
}
export interface GoldenLayoutConfiguration {
/**
* Array of component configurations.
*/
components: ComponentConfiguration[];
/**
* Initial component layout configuration.
*/
defaultLayout: GoldenLayout.Config;
}
export declare const GoldenLayoutConfiguration: OpaqueToken;