← Scheduler API

Interface · v2.8.0

NgbSchedulerCustomViewContext

Typed bindings supplied to a custom Scheduler template.

Import

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

Declaration

Properties

$implicit

Loaded events intersecting the current range, in input order.

$implicit: readonly NgbSchedulerEvent[]

date

Selected civil date.

range

A copy of the active range and display timezone.

range: Readonly<NgbSchedulerRange>

locale

The Scheduler formatting locale.

locale: string

activate

Activate an event from the visible collection through the standard eventActivate and preview flow.

activate: (event: NgbSchedulerEvent) => void

Referenced types

Source: src/scheduler/scheduler-custom-view.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.