← Scheduler API

Type · v2.8.0

NgbSchedulerDataSource

Application-owned loader receiving a civil visible range and AbortSignal; resolves an immutable event array.

Import

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

Declaration

type NgbSchedulerDataSource = (range: NgbSchedulerRange, signal: AbortSignal) => Promise<readonly NgbSchedulerEvent[]>;

Referenced types

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