Answers for "styles in angular component"

0

styles in angular component

@Component({
  selector: 'app-root',
  template: `
    <h1>Tour of Heroes</h1>
    <app-hero-main [hero]="hero"></app-hero-main>
  `,
  styles: ['h1 { font-weight: normal; }']
})
export class HeroAppComponent {
/* . . . */
}
Posted by: Guest on April-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language