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
- angular button
- 아이오닉 스크롤 이벤트
- 스크롤 이벤트 감지
- angular animation
- 앵귤러 애니메이션
- Router
- ApexChart
- prisma
- Angular Router
- angular route
- 호버
- angular modal
- egov spring ajax 사용 예시
- 셀렉트박스 커스텀
- summary
- 스크롤 이벤트
- 모달
- Ionic modal
- TAILWIND
- 옵저버블
- flex-1
- ajax 사용 예시
- 검색
- 앵귤러 모달
- modal
- scroll
- Oracle LISTAGG 사용 예시
- mysql if
- route
- formgroup
Archives
- Today
- Total
목록Angular modal data pass (1)
깜놀하는 해므찌로
Angular modal data pass 예시
async deleteBranch() { const modal = await this.modalController.create({ component: DeleteBranchModal, componentProps: { item: this.branch, }, }); await modal.present(); modal.onDidDismiss().then((res) => { if (res.role === 'submit') { this.router.navigateByUrl( this.router.routerState.snapshot.url.split('/')[1] ); } }); } 1. 모달 생성과 닫힌 후 로직 2. item : 통신 키 값 import { Component, OnInit, Input } fr..
IT
2023. 4. 29. 16:01