Datepicker
-
구성 요소
- 컴포넌트 클래스:
component-datepicker
- 컴포넌트 클래스:
| Name | Description | Type | Default |
|---|---|---|---|
| state |
열림, 닫힘 상태
|
string
|
close
|
| direction |
PC/Mobile 열기 타입
|
string
|
center/botom
|
| footerSticky.leaveback |
푸터에 빠져나올때 실행
|
function
|
null
|
| afterClose |
닫고 난 후 콜백
|
function
|
null
|
| afterOpen |
열고 난 후 콜백
|
function
|
null
|
| beforeClose |
닫기 전 콜백
|
function
|
null
|
| footerSticky |
푸터 전에 붙는 기능
|
boolean, function
|
false
|
| scrollLock |
body 스크롤 잠금, 해제 기능
|
boolean
|
true
|
| onResize |
window resize 이벤트 발생후 발생 ( debounce 속성 )
|
function
|
null
|
| beforeOpen |
열기 전 콜백
|
function
|
null
|
| dimm |
dimm 여부
|
boolean
|
true
|
| onInit |
component init 후 발생
|
function
|
null
|
| dimmClick |
dimm 클릭시 닫힘 속성
|
boolean
|
true
|
| esc |
Key ESC 누름 닫힘 기능
|
boolean
|
trune
|
| footerSticky.enter |
푸터에 진입후 실행
|
function
|
null
|
| close |
닫기
|
null
|
null
|
| open |
열기
|
null
|
null
|
| update |
업데이트
|
null
|
null
|