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

1. 버튼 템플릿에는 버튼 태그가 1개 뿐이다. 2. 부모 템플릿에서 버튼 셀렉터를 두번 호출한다. 3. 추가로 색상을 지정받기 위해 버튼 컴포넌트 내부에 @Input() 데코레이터 사용
IT
2023. 6. 3. 18:37
Angular button componet 예시 / 앵귤러 버튼 컴포넌트 예시
import { Component, OnInit, Input } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; @Component({ selector: 'app-button', templateUrl: './button.component.html', styleUrls: ['./button.component.scss'], standalone: true, imports: [CommonModule, RouterModule], }) export class ButtonComponent implements OnInit { @Input() type?: 'f..
IT
2023. 5. 10. 17:44