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
- 호버
- route
- ajax 사용 예시
- Oracle LISTAGG 사용 예시
- ApexChart
- scroll
- mysql if
- summary
- 모달
- angular modal
- egov spring ajax 사용 예시
- angular animation
- Angular Router
- 스크롤 이벤트
- 스크롤 이벤트 감지
- prisma
- flex-1
- modal
- 검색
- Ionic modal
- angular button
- 앵귤러 모달
- angular route
- TAILWIND
- 아이오닉 스크롤 이벤트
- 앵귤러 애니메이션
- 옵저버블
- formgroup
- 셀렉트박스 커스텀
Archives
- Today
- Total
목록typescript abstract (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