17 lines
511 B
TypeScript
17 lines
511 B
TypeScript
import { Projectable, ProjectorElementBuildDeskriptor } from './projectable';
|
|
import { BaseViewModel } from './base-view-model';
|
|
|
|
/**
|
|
* Base view class for projectable models.
|
|
*/
|
|
export abstract class BaseProjectableViewModel extends BaseViewModel implements Projectable {
|
|
public abstract getSlide(): ProjectorElementBuildDeskriptor;
|
|
|
|
/**
|
|
* @returns the projector title used for managing projector elements.
|
|
*/
|
|
public getProjectorTitle = () => {
|
|
return this.getTitle();
|
|
};
|
|
}
|