File

src/app/manage-learn/project/item-list-header/item-list-header.component.ts

Implements

OnInit

Metadata

Index

Methods
Inputs

Constructor

constructor()

Inputs

headerLabel
Type : any

Methods

ngOnInit
ngOnInit()
Returns : void
import { Component, Input, OnInit } from '@angular/core';

@Component({
  selector: 'app-item-list-header',
  templateUrl: './item-list-header.component.html',
  styleUrls: ['./item-list-header.component.scss'],
})
export class ItemListHeaderComponent implements OnInit {
  @Input() headerLabel: any;
  constructor() { }

  ngOnInit() {}

}
<div>
  <h5 class="sb--card__title projects-labels"><span>{{headerLabel}} </span></h5>
</div>

./item-list-header.component.scss

h5 {
    position: relative;
  }
  
  h5 span {
    background-color: var(--app-primary-background);
    padding-right: 10px;
  }
  
  h5:after {
    content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 0.76rem;
      border-top: 3px solid yellow;
      z-index: -1;
  }
  .projects-labels{
    font-weight: 600;
    margin: 20px 0px;
    }
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""