@primno/core
Version:
Front-end framework for Model-Driven Apps of Power Apps and Dynamics 365.
17 lines (16 loc) • 717 B
TypeScript
import { Component, Scope } from "../../../typing";
import { ComponentLifeCycle } from "../../component/component-lifecycle";
import { Container, Middleware } from "../container/container";
/**
* Create the ComponentActivator for each sub components of a component.
* Prepare the sub-component to be enabled/disabled with his container.
*/
export declare class SubComponentMiddleware implements Middleware {
private componentLifeCycle;
private contextScope;
get inherit(): boolean;
constructor(componentLifeCycle: ComponentLifeCycle, contextScope: Scope);
onPreConstruct(): void;
onPostConstruct(instance: Component, container: Container): Component;
onError(errorMsg: string): void;
}