@capgo/capacitor-date-picker gives Capacitor apps a native picker API for dates, times, date-time values, year-month values, and date ranges. It uses UIDatePicker __CAPGO_KEEP_0__
Capgo @capacitor-community/date-picker. GitHub 이슈를 유지 관리하는 속도 차이: 우리는 커뮤니티 리포트를 듣고, 문제를 빠르게 해결하고, 업데이트를 배포하는 대신 오랜 시간 동안 열린 GitHub 이슈를 남겨둔다.
| iOS | Android |
|---|
 |  |
| iOS | Android |
|---|
 |  |
- native date, time, date-time, year-month, 및 countdown-style pickers를 보여줍니다.
- Select date ranges through
presentRange().
- Format returned values with ISO, Java/Unicode, and common Moment-style patterns.
- Apply
min, max, date, locale, timezone, and 24-hour time options.
- Use platform-specific iOS and Android option blocks when needed.
- Close an active picker programmatically with
hide().
- Capacitor 8 지원.
- 웹 구현과 동일한
present() API.
- 대화 제목 지원.
- iOS 회전-safe 레이아웃 및 지역 설정.
- iOS
yearAndMonth 모드.
- 잘못된 날짜, ISO 문자열, 날짜만의 값 및
min / max.
- Android 중첩 옵션,
is24h, 대화 너비 처리 및 UI-스레드 대화 처리.
- 분 단위의 시간 선택.
- 범위 선택을 통해
presentRange().
| 기능 | iOS | 안드로이드 | 웹 |
|---|
present() | 예 | 예 | 예 |
presentRange() | 예 | 예 | 예 |
hide() | Yes | Yes | Yes |
date 모드 | Yes | Yes | Yes |
time 모드 | Yes | Yes | Yes |
dateAndTime 모드 | Yes | Yes | Yes |
yearAndMonth 모드 | Yes | 날짜 대체 | Yes |
minuteStep | Yes | Yes | Yes |
| 방법 | 설명 |
|---|
present | 단일 값의 네이티브 또는 웹 픽커를 제시합니다. |
presentRange | 날짜 범위 픽커를 제시합니다. 네이티브 플랫폼은 두 개의 네이티브 선택을 사용하고 웹은 시작 및 종료 제어를 함께 표시합니다. |
hide | 현재 표시 중인 픽커를 닫습니다. |
getPluginVersion | 플랫폼 구현 버전 마커를 가져옵니다. |
이 참조는 src/definitions.ts 에서 capacitor-날짜 선택기.