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
- route
- angular button
- ajax 사용 예시
- egov spring ajax 사용 예시
- angular animation
- ApexChart
- 검색
- 스크롤 이벤트 감지
- Router
- Angular Router
- angular modal
- 셀렉트박스 커스텀
- 스크롤 이벤트
- scroll
- 옵저버블
- flex-1
- mysql if
- 앵귤러 애니메이션
- 앵귤러 모달
- 호버
- prisma
- 아이오닉 스크롤 이벤트
- angular route
- TAILWIND
- modal
- Ionic modal
- summary
- formgroup
- Oracle LISTAGG 사용 예시
- 모달
Archives
- Today
- Total
목록Ionic modal pass data to component (1)
깜놀하는 해므찌로
Ionic modal pass data to component 사용 예시 Angular
closeModal(){ this.modalController.dismiss({ dismissed: true, data: 'ㅋㅋ', }); } 1. 모달 컴포넌트 : 모달 종료 시 데이터 ''ㅋㅋ" 를 전달해보겠습니다. 2. data : 라는 변수명은 데이터를 받을 컴포넌트의 변수명과 일치해야 합니다. async openModal() { // modal 생성 시점 const modal = await this.modalController.create({ component: UpdateAdminModal, componentProps: { admin: this.admin, }, }); modal.onDidDismiss().then((res: any) => { // modal 닫히는 시점 console.log(..
IT
2023. 6. 12. 00:42