matrix-dimension/web/app/configs/widget/config-screen/config-screen.widget.component.ts
2021-12-08 16:21:39 -07:00

17 lines
562 B
TypeScript

import { WidgetComponent } from "../widget.component";
import { Component, ContentChild, Input, TemplateRef } from "@angular/core";
@Component({
selector: "my-widget-config",
templateUrl: "config-screen.widget.component.html",
styleUrls: ["config-screen.widget.component.scss"],
})
export class ConfigScreenWidgetComponent {
@Input() widgetComponent: WidgetComponent;
@Input() addTitle: string;
@Input() editTitle: string;
@ContentChild(TemplateRef, { static: false }) widgetParamsTemplate: TemplateRef<any>;
constructor() {}
}