src/app/shared/widgets/widget.controller.ts
Methods |
Optional onDestroy |
onDestroy()
|
Returns :
void
|
onInit | ||||||
onInit(channels: Channels)
|
||||||
Parameters :
Returns :
void
|
import { Subject } from "rxjs";
export interface Channels {
[key: string]: Subject<any>;
}
export interface WidgetController {
onInit(channels: Channels): void;
onDestroy?(): void;
}