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

개발과 취미

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

개발과 취미

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

Angular8 (13)
[Angular] Event Binding 1 이벤트 바인딩

코드로 보는게 이해가 빠르다 test.component.html Btn 무슨 뜻 이냐 하면 button에 있는 click 이벤트가 발생 했을때 test.component.ts 코드에 있는 printName 이란 함수를 실행 시키라는 뜻 이다. test.component.ts import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-test', templateUrl: './test.component.html', styleUrls: ['./test.component.css'] }) export class TestComponent implements OnInit { name = 'zizn'; constructor() { } n..

Angular8 2020. 4. 7. 14:47
이전 1 ··· 4 5 6 7 8 9 10 ··· 13 다음
이전 다음

Blog is powered by Tistory / Designed by Tistory

티스토리툴바