src/app/modules/shared/components/announcement-inbox-card/announcement-inbox-card.component.ts
AnnouncementInboxCard is a shared component contains announcement inbox card
selector | app-announcement-inbox-card |
templateUrl | announcement-inbox-card.component.html |
announcement
|
announcement is used to render the Announcement values in the view
Type: |
constructor(resourceService: ResourceService)
|
The "constructor"
Parameters :
|
resourceService |
resourceService: |
Property of ResourceService used to render resourcebundels |
import { Announcement } from '../../interfaces/index';
import { ResourceService } from '../../services/index';
import { Component, Input } from '@angular/core';
import * as _ from 'lodash-es';
import * as moment from 'moment';
/**
* AnnouncementInboxCard is a shared component contains announcement inbox card
*/
@Component({
selector: 'app-announcement-inbox-card',
templateUrl: './announcement-inbox-card.component.html'
})
export class AnnouncementInboxCardComponent {
/**
* Property of ResourceService used to render resourcebundels
*/
resourceService: ResourceService;
/**
* announcement is used to render the Announcement values in the view
*/
@Input() announcement: Announcement;
/**
* The "constructor"
*
* @param {ResourceService} resourceService Resource Service is used to render resourcebundels
*/
constructor(resourceService: ResourceService) {
this.resourceService = resourceService;
}
}