devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
19 lines (18 loc) • 734 B
JavaScript
/**
* DevExtreme (esm/__internal/scheduler/appointments/rendering_strategies/m_strategy_week.js)
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import VerticalRenderingStrategy from "./m_strategy_vertical";
class WeekAppointmentRenderingStrategy extends VerticalRenderingStrategy {
isApplyCompactAppointmentOffset() {
if (this.isAdaptive && 0 === this._getMaxAppointmentCountPerCellByType()) {
return false
}
return this.supportCompactDropDownAppointments()
}
}
export default WeekAppointmentRenderingStrategy;