OpenSlides/client/src/app/site/base/displayable.ts

15 lines
361 B
TypeScript

/**
* Every displayble object should have the given functions to give the object's title.
*/
export interface Displayable {
/**
* Should return the title. Alway used except for list view, the agenda and in the projector.
*/
getTitle(): string;
/**
* Should return the title for the list view.
*/
getListTitle(): string;
}