mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-19 23:35:53 +00:00
17 lines
562 B
TypeScript
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() {}
|
|
}
|