데이트피커에 보더 효과를 설정하거나 삭제하는 API이다.
Parameters | Type | Description |
---|---|---|
instPropInfo | INSTANCE | 속성 정보 오브젝트 |
Type | Description |
---|---|
BOOL | 정상여부 |
instPropInfo파라미터를 null로 설정시 보더 효과가 삭제된다.
function btn_setbordereffect_on_mouseup()
{
var prop_obj = {
effect_duration: 400, // 효과가 동작할 시간(default: 400)
effect_type: 0, // 효과타입(0 ~ 8, default: 0)
effect_event: "focus", // 동작할 이벤트(focus: focus-in,out(default), hover:mouse-in,out)
border_color: [51,153,255], // 보더 색상(default: 51,153,255)
border_width: 4, // 보더 두께 (default: 2)
margin_top: 0, // 상단마진(default: 0)
margin_right: 0, // 우측마진(default: 0)
margin_bottom: 0, // 하단마진(default: 0)
margin_left: 0 // 좌측마진(default: 0)
}
datepicker0.setbordereffect(prop_obj);
}