From 737bed23319b527f0f0075f9aa15c7ded04a5cd2 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 22 Aug 2024 12:26:18 +0900 Subject: [PATCH] =?UTF-8?q?help=ED=95=A8=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/applib/js/app-base.js | 14 ++++++++++++++ src/main/webapp/resources/applib/js/app-support.js | 4 ++++ .../webapp/resources/applib/js/componentization.js | 4 ++++ .../webapp/resources/applib/js/date-support.js | 5 +++++ .../webapp/resources/applib/js/string-support.js | 4 ++++ 5 files changed, 31 insertions(+) create mode 100644 src/main/webapp/resources/applib/js/app-base.js diff --git a/src/main/webapp/resources/applib/js/app-base.js b/src/main/webapp/resources/applib/js/app-base.js new file mode 100644 index 0000000..bb93402 --- /dev/null +++ b/src/main/webapp/resources/applib/js/app-base.js @@ -0,0 +1,14 @@ +function help(){ + for(let item of help.prototype.list){ + console.log(item); + } +} +help.prototype.list = [ + "DatasetControl 클래스 : dataset을 제어하는 클래스", + "TableSupport 클래스 : dataset과 연동된 html테이블 관련 기능 지원", + "PagingSupport 클래스 : dataset과 연동된 페이징 관련 기능 지원", + "CurrentDataSupport 클래스 : dataset과 연동된 현재 데이터 UI 관련 기능 지원", + "dialog : 다이얼로그 관련 기능을 제공하는 객체", + "ajax : ajax 관련 기능을 제공하는 객체", + "" +]; \ No newline at end of file diff --git a/src/main/webapp/resources/applib/js/app-support.js b/src/main/webapp/resources/applib/js/app-support.js index 2e7ce48..6e660ea 100644 --- a/src/main/webapp/resources/applib/js/app-support.js +++ b/src/main/webapp/resources/applib/js/app-support.js @@ -1,3 +1,7 @@ +if(window.help !== undefined){ + help.prototype.list.push("AppSupport 클래스 : 웹프로젝트 내에서 공통적으로 사용할 수 있는 기능 지원"); +} + class AppSupport { static help(){ diff --git a/src/main/webapp/resources/applib/js/componentization.js b/src/main/webapp/resources/applib/js/componentization.js index 324fa30..e30be9d 100644 --- a/src/main/webapp/resources/applib/js/componentization.js +++ b/src/main/webapp/resources/applib/js/componentization.js @@ -1,3 +1,7 @@ +if(window.help !== undefined){ + help.prototype.list.push("Componentization 클래스 : 특정 HTML요소에 기능을 추가할 수 있다."); +} + class Componentization { static help(){ diff --git a/src/main/webapp/resources/applib/js/date-support.js b/src/main/webapp/resources/applib/js/date-support.js index df742e8..0558eb3 100644 --- a/src/main/webapp/resources/applib/js/date-support.js +++ b/src/main/webapp/resources/applib/js/date-support.js @@ -1,3 +1,8 @@ +if(window.help !== undefined){ + help.prototype.list.push("TODAY() : 현재날짜를 YYYY-MM-DD 포맷으로 반환"); + help.prototype.list.push("DateSupport 클래스 : 날짜 관련 기능 지원"); +} + /************************************************************************** * 전역함수 **************************************************************************/ diff --git a/src/main/webapp/resources/applib/js/string-support.js b/src/main/webapp/resources/applib/js/string-support.js index c0b73ee..f38a73a 100644 --- a/src/main/webapp/resources/applib/js/string-support.js +++ b/src/main/webapp/resources/applib/js/string-support.js @@ -1,3 +1,7 @@ +if(window.help !== undefined){ + help.prototype.list.push("StringSupport 클래스 : 문자열 관련 기능 지원"); +} + class StringSupport { static help(){