← Scheduler API

Interface · v2.8.0

NgbSchedulerViewOptions

Per-view overrides; undefined inherits, false and empty hiddenDays/businessDays arrays are explicit. Agenda supports hiddenDays and highlightOngoingEvents; Month and Multi-Week also support weekStartsOn, hiddenDays and highlightOngoingEvents.

Import

import type { NgbSchedulerViewOptions } from '@angular-bootstrap/ngbootstrap';

Declaration

Properties

maxEventColumns

maxEventColumns?: number

maxAllDayRows

maxAllDayRows?: number

highlightOngoingEvents

highlightOngoingEvents?: boolean

showBusinessHours

showBusinessHours?: boolean

businessStartTime

businessStartTime?: string

businessEndTime

businessEndTime?: string

businessDays

businessDays?: readonly number[]

hiddenDays

hiddenDays?: readonly number[]

scrollTime

scrollTime?: string

startTime

startTime?: string

endTime

endTime?: string

slotDuration

slotDuration?: number

slotDivisions

slotDivisions?: number

pixelsPerMinute

pixelsPerMinute?: number

showAllDay

showAllDay?: boolean

showCurrentTime

showCurrentTime?: boolean

weekStartsOn

weekStartsOn?: number

multiDayCount

multiDayCount?: number

multiWeekCount

multiWeekCount?: number

workDays

workDays?: readonly number[]
Source: types/angular-bootstrap-ngbootstrap.d.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.