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 |
Tags
- modal
- route
- Ionic modal
- flex-1
- summary
- 스크롤 이벤트
- 호버
- scroll
- Angular Router
- 스크롤 이벤트 감지
- Router
- angular button
- 앵귤러 모달
- mysql if
- ajax 사용 예시
- angular animation
- formgroup
- 모달
- 셀렉트박스 커스텀
- egov spring ajax 사용 예시
- Oracle LISTAGG 사용 예시
- TAILWIND
- 검색
- ApexChart
- angular modal
- prisma
- 앵귤러 애니메이션
- 아이오닉 스크롤 이벤트
- 옵저버블
- angular route
Archives
- Today
- Total
목록angular button (3)
깜놀하는 해므찌로
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bZ5G0c/btr8kJLaVTw/nBkMNCkWe69Qw6NqxrYXx0/img.png)
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