Members
(readonly) id :string
- Description:
현재 popup의 id
현재 popup의 id
Type:
- string
(readonly) opener :nexacro.FormBase
- Description:
현재 pop업을 호출한 opener
현재 pop업을 호출한 opener
Type:
(static) BTN_FONT_BASE :string
- Description:
메시지 팝업 크기 계산용 버튼 폰트값
메시지 팝업 크기 계산용 버튼 폰트값
Type:
- string
(static) DEFAULT_DRAG_MOVE_TYPE :string
- Description:
일반 팝업 dragmovetype 기본값
일반 팝업 dragmovetype 기본값
Type:
- string
(static) DEFAULT_FRAME_URL :String
- Description:
일반 팝업 Frame 경로
일반 팝업 Frame 경로
Type:
(static) DEFAULT_MARGIN :Object
- Description:
프레임 사용시 외각선 두께
Properties:
| Name | Type | Description |
|---|---|---|
left |
number | 좌측 외각선 |
right |
number | 우측 외각선 |
top |
number | 상단 외각선 |
bottom |
number | 하단 외각선 |
프레임 사용시 외각선 두께
Type:
- Object
(static) EMPTY_MARGIN :Object
- Description:
프레임 미사용시 외각선 두께
Properties:
| Name | Type | Description |
|---|---|---|
left |
number | 좌측 외각선 |
right |
number | 우측 외각선 |
top |
number | 상단 외각선 |
bottom |
number | 하단 외각선 |
프레임 미사용시 외각선 두께
Type:
- Object
(static) FRAME_BORDER :number
- Description:
프레임 외각선 두께
프레임 외각선 두께
Type:
- number
(static) MSG_FONT_BASE :string
- Description:
메시지 팝업 크기 계산용 폰트값
메시지 팝업 크기 계산용 폰트값
Type:
- string
(static) MSG_MARGIN :Object
- Description:
메시지 외각선 두께
Properties:
| Name | Type | Description |
|---|---|---|
left |
number | 좌측 외각선 |
right |
number | 우측 외각선 |
top |
number | 상단 외각선 |
bottom |
number | 하단 외각선 |
메시지 외각선 두께
Type:
- Object
(static) MSG_SIZE :Object
- Description:
메시지 크기 계산용 설정
Properties:
| Name | Type | Description |
|---|---|---|
minHeight |
number | |
minWidth |
number | |
btnMaxWidth |
number | |
btnMinWidth |
number | |
btnMargin |
number | |
textareaMargin |
number |
메시지 크기 계산용 설정
Type:
- Object
(static) MSG_URL :string
- Description:
메시지 팝업 경로
메시지 팝업 경로
Type:
- string
(static) SHOW_MSG_TITLE :boolean
- Description:
메시지팝업 타이틀영엽 표시 여부
메시지팝업 타이틀영엽 표시 여부
Type:
- boolean
(static) SHOW_POPUP_TITLE :boolean
- Description:
프레임팝업 타이틀영엽 표시 여부
프레임팝업 타이틀영엽 표시 여부
Type:
- boolean
(static) TITLEBAR_BTN_GAP :number
- Description:
타이틀영엽 버튼 넓이
타이틀영엽 버튼 넓이
Type:
- number
(static) TITLEBAR_BTN_SIZE :number
- Description:
타이틀영엽 버튼 넓이
타이틀영엽 버튼 넓이
Type:
- number
(static) TITLEBAR_HEIGHT :number
- Description:
타이틀영엽 높이
타이틀영엽 높이
Type:
- number
(static) USE_POPUP_FRAME :boolean
- Description:
프레임팝업 사용여부
프레임팝업 사용여부
Type:
- boolean
(static) i18nConfig :Object
- Description:
EzPopup 내장 다국어 정보 객체
EzPopup 내장 다국어 정보 객체
Type:
- Object
Methods
alert(msg, iconopt) → {Promise}
- Description:
알림창 호출
Example
this.pop.alert("알림 메시지","q");
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
msg |
string | 알림창에 표시할 메시지 |
||
icon |
"d" | "i" | "q" | "w" | "e" |
<optional> |
'd'
|
알림창에 표시할 아이콘
|
Returns:
팝업 종료시 처리할 Promise
- Type
- Promise
close(e)
- Description:
팝업 종료
Example
this.pop.close({
id : "conf001",
msg : "질문 메시지",
})
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Object | 되돌려줄 정보 이벤트 |
confirm(confirmInfo) → {Promise}
- Description:
질문창 호출
Example
this.pop.confirm({
id : "conf001",
msg : "질문 메시지",
icon : "d",
cfn : "fn_callback",
})
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
confirmInfo |
Object | 질문창 정보 객체 Properties
|
Returns:
팝업 종료시 처리할 Promise
- Type
- Promise
msg(msgInfo)
- Description:
메시지창 호출
Example
this.pop.msg({
id : "msg001",
title : "메시지",
msg : "메시지창에 표시할 메시지 내용",
iconType : "confirm",
icon : "d",
btn : {
yes : {
text : "예",
value : true,
fn : function(e){
trace(e.data)
}
},
no : {
text : "아니오",
value : false,
fn : function(e){
trace(e.data)
}
},
cancel :{
text : "취소",
fn : function(e){
trace(e.data)
}
}
},
cfn : "fn_callback"
});
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
msgInfo |
Object | 메시지 정보 객체 Properties
|
popup(popInfo) → {Promise}
- Description:
팝업 호출
Example
this.pop.popup({
id : "popup001",
title : "팝업",
url : "COMP::comcd_pop.xfdl",
arg : {
HI_CD : "001",
},
width : 500,
height : 300,
resizable: false,
cfn : "fn_callback"
});
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
popInfo |
Object | 팝업 호출 정보 Properties
|
Returns:
팝업 후처리용 Promise객체
- Type
- Promise