이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 데이트피커 기본가이드====== 데이트피커 컴포넌트에 대한 기본 기능 예시 화면이다. 데이트피커 컴포넌트 date_type 속성과 calendar_type 속성을 통해서 날짜 유형 및 날짜 선택 달력 방식을 지정한다. 관련 속성으로 calendar_type, date_type, spin_type가 있다. 관련 API로 gettext, settext가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/DATEPICKER/datepicker_basic 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/DATEPICKER/datepicker_basic.xml|datepicker_basic.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/DATEPICKER/datepicker_basic.js|datepicker_basic.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/DATEPICKER/datepicker_basic|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/DATEPICKER/datepicker_basic"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> function screen_on_load() { } function btn_gettext_on_mouseup(objInst) { screen.alert(this.dt_basic.gettext()); } function btn_settext_on_mouseup(objInst) { this.dt_basic.settext("20221007"); } </sxh> guide/component/datepicker/datepicker_basic.txt 마지막으로 수정됨: 2023/10/30 13:19저자 127.0.0.1