Using the RSS Bot as an example. Notably missing features: * Configuration (feeds) not retrieved * No actual configuration page
16 lines
516 B
TypeScript
16 lines
516 B
TypeScript
import { ComplexBotComponent } from "../complex-bot.component";
|
|
import { Component, ContentChild, Input, TemplateRef } from "@angular/core";
|
|
|
|
@Component({
|
|
selector: "my-complex-bot-config",
|
|
templateUrl: "config-screen.complex-bot.component.html",
|
|
styleUrls: ["config-screen.complex-bot.component.scss"],
|
|
})
|
|
export class ConfigScreenComplexBotComponent {
|
|
|
|
@Input() botComponent: ComplexBotComponent<any>;
|
|
@ContentChild(TemplateRef) botParamsTemplate: TemplateRef<any>;
|
|
|
|
constructor() {
|
|
}
|
|
} |