일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- angular modal
- 모달
- mysql if
- 스크롤 이벤트 감지
- angular button
- Oracle LISTAGG 사용 예시
- modal
- flex-1
- 호버
- 셀렉트박스 커스텀
- 옵저버블
- route
- 스크롤 이벤트
- Ionic modal
- scroll
- 아이오닉 스크롤 이벤트
- angular route
- Router
- summary
- ajax 사용 예시
- formgroup
- angular animation
- Angular Router
- 앵귤러 애니메이션
- egov spring ajax 사용 예시
- 검색
- ApexChart
- TAILWIND
- 앵귤러 모달
- prisma
- Today
- Total
목록angular modal (3)
깜놀하는 해므찌로
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(..
ionic generate page modal 1. CLI page 생성 import { Component, OnInit, Input } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { ModalController } from '@ionic/angular'; @Component({ selector: 'app-modal', templateUrl: './modal.page.html', styleUrls: ['./modal.page.scss'], stand..
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..