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

1. ion 태그는 shadow dom 을 생성 2. shadow dom 속성을 다루기 위해 전용 변수에 접근하자 3. 모달 전용 scss 생성 ion-modal { --border-radius: 0.5rem !important; } 4. radius 설정 5. global.scss 에 import
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..
ion-modal { --border-radius: 0.5rem; --width: 30rem; --height: 27rem; } ion-modal { --border-radius: 8px; --max-height: max-content; --max-width: max-content; --height: max-content; --width: max-content; --backdrop-opacity: 0.6; --padding: 8px; --overflow: visible; .modal-wrapper { height: auto; } .ion-page { max-height: max-content; } } ion-modal + ion-modal { --backdrop-opacity: 0.6 !important..
import { Component } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { ModalPage } from '../modal/modal.page'; @Component({ selector: 'modal-example', templateUrl: 'modal-example.html', styleUrls: ['./modal-example.css'] }) export class ModalExample { constructor(public modalController: ModalController) { } async presentModal() { // 모달 열기 메소드 const modal = await th..