File

src/app/modules/shared/components/announcement-inbox-card/announcement-inbox-card.component.ts

Description

AnnouncementInboxCard is a shared component contains announcement inbox card

Metadata

selector app-announcement-inbox-card
templateUrl announcement-inbox-card.component.html

Inputs

announcement

announcement is used to render the Announcement values in the view

Type: Announcement

Constructor

constructor(resourceService: ResourceService)

The "constructor"

Parameters :
  • resourceService : ResourceService

    Resource Service is used to render resourcebundels

Properties

resourceService
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;
  }


}

results matching ""

    No results matching ""