movingStartMaintainsLength property

  1. @Input()
set movingStartMaintainsLength (bool value)

For date range selection, whether clicking to move the start date should also move the end date (preserving the length of the selected range).

Defaults to true, unless an enclosing component has a different default.

Implementation

@Input()
set movingStartMaintainsLength(bool value) {
  _movingStartMaintainsLength = value;

  // Must recreate the input listener when this changes. If it wasn't already
  // created, we must be executing before [ngOnInit], so defer to later.
  //if (_inputListener != null) {
  _initInputListener();
  //}
}