devextreme
Version:
JavaScript/TypeScript Component Suite for Responsive Web Development
30 lines (29 loc) • 928 B
JavaScript
/**
* DevExtreme (esm/__internal/scheduler/workspaces/m_timeline_week.js)
* Version: 25.2.7
* Build date: Tue May 05 2026
*
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import registerComponent from "../../../core/component_registrator";
import {
VIEWS
} from "../utils/options/constants_view";
import SchedulerTimeline from "./m_timeline";
const TIMELINE_CLASS = "dx-scheduler-timeline-week";
export default class SchedulerTimelineWeek extends SchedulerTimeline {
get type() {
return VIEWS.TIMELINE_WEEK
}
getElementClass() {
return TIMELINE_CLASS
}
needRenderWeekHeader() {
return true
}
incrementDate(date) {
date.setDate(date.getDate() + 1)
}
}
registerComponent("dxSchedulerTimelineWeek", SchedulerTimelineWeek);