17 lines
427 B
TypeScript
17 lines
427 B
TypeScript
import { Input } from '@angular/core';
|
|
import { SlideData } from 'app/site/projector/services/projector-data.service';
|
|
|
|
/**
|
|
* Every slide has to extends this base class. It forces the slides
|
|
* to have an input for the slidedata.
|
|
*/
|
|
export abstract class BaseSlideComponent<T extends object> {
|
|
/**
|
|
* Each slide must take slide data.
|
|
*/
|
|
@Input()
|
|
public data: SlideData<T>;
|
|
|
|
public constructor() {}
|
|
}
|