본문으로 건너뛰기

onMouseDown

Description

사용자가 미리 정의된 'onclick' 핸들러가 없는 스케줄러 요소를 클릭할 때 트리거됩니다.

onMouseDown: (className: string) => void

Parameters

  • className - (required) string - 클릭된 요소의 CSS 클래스 이름

Example

scheduler.attachEvent("onMouseDown", function(className){
//any custom logic here
});

Details

미리 정의된 'onclick' 핸들러가 포함된 스케줄러 요소는 아래 표에 자세히 나와 있습니다.


표 1 미리 정의된 'onclick' 핸들러가 있는 스케줄러 요소들

클래스 이름

요소

dhx_cal_event_lineDay, Week, Month, Units 뷰에 표시되는 다일 이벤트 및 Timeline 뷰의 모든 이벤트
dhx_cal_event_clearMonth 뷰의 단일일 이벤트
dhx_event_moveDay, Week, Units 뷰에서 이벤트를 드래그할 때 사용하는 이벤트 박스 헤더
dhx_wa_ev_bodyWeekAgenda 뷰에 표시되는 이벤트
dhx_event_resizeDay, Week, Units 뷰에서 이벤트 크기를 조절하는 데 사용되는 이벤트 박스 하단 부분
dhx_scale_holderDay, Week, Units 뷰의 컬럼
dhx_scale_holder_nowDay, Week, Units 뷰에서 현재 날짜를 나타내는 하이라이트된 컬럼
dhx_month_bodyMonth 뷰에서 헤더가 없는 셀
dhx_matrix_cellTimeline 뷰의 셀
dhx_marked_timespan마크(하이라이트)된 셀들
dhx_time_block차단된 셀들
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.