File

src/app/shield/shield.component.ts

Implements

OnInit

Metadata

selector app-shield
styleUrls ./shield.component.scss
templateUrl ./shield.component.html

Index

Methods

Constructor

constructor()

Methods

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

@Component({
  selector: 'app-shield',
  templateUrl: './shield.component.html',
  styleUrls: ['./shield.component.scss']
})
export class ShieldComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

}
<p>
  shield works!
</p>

./shield.component.scss

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""