@wasp-ui/ng-golden-layout
Version:
Angular bindings for golden-layout
29 lines (28 loc) • 757 B
TypeScript
import { InjectionToken, 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;
/**
* default settings
*/
layoutSettings?: any;
}
export declare const GoldenLayoutConfiguration: InjectionToken<{}>;
export declare const GoldenLayoutDefaultSettings: any;