Whether the previous period button is enabled.
()
| 137 | |
| 138 | /** Whether the previous period button is enabled. */ |
| 139 | previousEnabled(): boolean { |
| 140 | if (!this.calendar.minDate) { |
| 141 | return true; |
| 142 | } |
| 143 | return ( |
| 144 | !this.calendar.minDate || !this._isSameView(this.calendar.activeDate, this.calendar.minDate) |
| 145 | ); |
| 146 | } |
| 147 | |
| 148 | /** Whether the next period button is enabled. */ |
| 149 | nextEnabled(): boolean { |
no test coverage detected