File

src/app/core/blog-card/blog-card.component.ts

Description

Post card for use in blogs and press

Metadata

selector app-blog-card
styleUrls blog-card.component.scss
templateUrl blog-card.component.html

Inputs

post

Constructor

constructor()
import { Component, OnInit, Input } from '@angular/core';
import { post } from 'selenium-webdriver/http';

/**
 * Post card for use in blogs and press
 */
@Component({
  selector: 'app-blog-card',
  templateUrl: './blog-card.component.html',
  styleUrls: ['./blog-card.component.scss']
})
export class BlogCardComponent implements OnInit {
  // Post object
  @Input() post;

  constructor() { }

  ngOnInit() {
  }

}

results matching ""

    No results matching ""