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

15 lines
370 B
TypeScript
Raw Normal View History

/**
* Every displayble object should have the given functions to give the object's title.
*/
export interface Displayable {
/**
2019-02-08 16:02:46 +01:00
* Should return the title. Always used except for list view, the agenda and in the projector.
*/
2019-02-08 16:02:46 +01:00
getTitle: () => string;
/**
* Should return the title for the list view.
*/
2019-02-08 16:02:46 +01:00
getListTitle: () => string;
}