이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== tabitem_image 속성 가이드 ====== 이 화면은 tabitem_image 속성 샘플 화면이다. tabitem_image 관련 속성은 탭 아이템 경계선 내부에 표시된 이미지 표시 방식을 설정하며, 탭 아이템별 설정 기능도 제공한다. 관련 속성으로 tabitem_image, tabitem_selimage, tabitem_disableimage, tabitem_imagefillstyle, tabitem_fitimage가 있다. 관련 API로 gettabitemimage, settabitemimage, gettabitemimageex, settabitemimageex가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/TAB/tab_itemimagestyle 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/TAB/tab_itemimagestyle.xml|tab_itemimagestyle.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/TAB/tab_itemimagestyle.js|tab_itemimagestyle.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/TAB/tab_itemimagestyle|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/TAB/tab_itemimagestyle"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // "get/settabitemimage" 버튼 이벤트 function btn_itemimage_on_click(objInst) { // 일반 상태/선택된 상태의 이미지 정보 표시 factory.consoleprint("item image = " + this.tab.gettabitemimage()); factory.consoleprint("select item image = " + this.tab.gettabitemselimage()); } </sxh> guide/component/tab/tab_itemimagestyle.txt 마지막으로 수정됨: 2024/08/06 10:58저자 127.0.0.1