Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- 앵귤러 모달
- Router
- Angular Router
- angular animation
- angular route
- 검색
- 호버
- Ionic modal
- 스크롤 이벤트 감지
- ApexChart
- flex-1
- egov spring ajax 사용 예시
- angular modal
- 앵귤러 애니메이션
- mysql if
- ajax 사용 예시
- prisma
- formgroup
- TAILWIND
- 셀렉트박스 커스텀
- 아이오닉 스크롤 이벤트
- 모달
- modal
- 스크롤 이벤트
- angular button
- route
- Oracle LISTAGG 사용 예시
- 옵저버블
- summary
- scroll
Archives
- Today
- Total
목록typescript extends (1)
깜놀하는 해므찌로
typescript abstract, extends 추상 클래스 활용 예시
/** 추상 클래스 * 추상화 : 상위 클래스에서 이름과 형태만 정해줄 뿐 상속받는 하위 클래스에서 구현하는 것 */ abstract class Car{ color:string; constructor(color:string){ this.color = color; }; start():void{ console.log("start"); }; abstract doSomething():void // 추상 메소드 명시 } // 추상 클래스 new 생성 불가, 오로지 상속을 통해서만 사용 가능 class Bmw extends Car{ constructor(color:string){ super(color); }; doSomething(){ // 추상 메소드 구현 console.log("추상클래스 상속을 받을 경우 선언..
IT
2023. 5. 26. 13:00