@engie-group/ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
24 lines (23 loc) • 1.17 kB
TypeScript
/**
* Slide-out object to be provided to the slide-out serive.
*
* @property {Type<any> | null} component the component to be shown in the slide-out. Is set to null
* when closing an active slide-out
* @property {any} data any type of data to be passed to the component you're showing
* in the slide-out [optional]
* @property {Array<Provider | StaticProvider>} providers list of providers, aka services, that are not
* provided in root, but only instantiated in the component calling the slide-out
* @property {string} type the unique identifier for the slide-out to be activated. Is set to an empty string when
* closing an active slide-out
* @property {string} updateBrowserLocationTo to update the browser location and url while triggering a slide-out.
* Typically, when the slide-out is used for editing, to add a unique id of the data to edit to the url [optional]
*/
import { Provider, StaticProvider, Type } from "@angular/core";
export declare class SlideOutModel {
component: Type<any> | null;
data?: any;
providers?: (Provider | StaticProvider)[];
type: string;
updateBrowserLocationTo?: string;
constructor(objIn?: any);
}