본문 바로가기 메뉴 바로가기

개발과 취미

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

개발과 취미

검색하기 폼
  • 분류 전체보기 (22)
    • Javascript (5)
      • 비동기 프로그래밍 (5)
    • Angular8 (13)
    • 주식 모으기 (1)
  • 방명록

Angular8 (13)
[Angular] component selector

import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-test', templateUrl: './test.component.html', styleUrls: ['./test.component.css'] }) export class TestComponent implements OnInit { constructor() { } ngOnInit() { } } 가장 기본형이고 형태로 사용하게 된다. import { Component, OnInit } from '@angular/core'; @Component({ selector: '[app-test]', templateUrl: './test.component.html', style..

Angular8 2020. 4. 7. 10:44
이전 1 ··· 7 8 9 10 11 12 13 다음
이전 다음

Blog is powered by Tistory / Designed by Tistory

티스토리툴바