Package API · v2.8.0
Scheduler API
Find a component, directive, configuration type or helper. Open a name for its import, signature and members.
68 of 68 APIs
NgbSchedulerComponentComponentDisplay appointments in calendar or timeline views, group by resource, edit recurring events, and load data for the visible date range.
NgbSchedulerCustomViewInterfaceDefines a custom period and the navigation step for an application-rendered view.
NgbSchedulerCustomViewContextInterfaceTyped bindings supplied to a custom Scheduler template.
NgbSchedulerCustomViewDirectiveDirectiveStandalone ng-template directive for typed custom-view bindings. Export it as ngbSchedulerCustomView.
Application-owned loader receiving a civil visible range and AbortSignal; resolves an immutable event array.
NgbSchedulerDateTypeCivil date string in YYYY-MM-DD form.
NgbSchedulerEditorContextInterfaceNgbSchedulerEditorContext interface exported by the ngbootstrap package API.
NgbSchedulerEditorControlsInterfaceRequired controls for the default/custom field editor. Timed start/end values are local ISO fields without an offset in the event/editor timezone (UTC by default).
NgbSchedulerEditorForm type exported by the ngbootstrap package API.
Return a fresh initialized form. The library still validates the resulting event before persistence.
NgbSchedulerEditorTemplateDirectiveDirectiveStandalone typed ng-template directive. Fields in the built-in reactive occurrence editor.
Return a user-facing reason to reject an action, or null to allow it. Rechecked on submit.
NgbSchedulerEmptyTemplateContextInterfaceMessages for empty events, dates or resources, after loading succeeds.
NgbSchedulerEmptyTemplateDirectiveDirectiveStandalone typed ng-template directive. Messages for empty events, dates or resources, after loading succeeds.
NgbSchedulerEventInterfaceEvent with a stable unique ID and title. Timed values use explicit-offset ISO timestamps; all-day values use dates. End is exclusive.
Supply an application-owned ID and initial dates for a new event.
NgbSchedulerEventTemplateContextInterfaceTitle content inside built-in event buttons.
NgbSchedulerEventTemplateDirectiveDirectiveStandalone typed ng-template directive. Title content inside built-in event buttons.
ngbSchedulerExpandSeriesFunctionExpand at most 50 series into a range of at most 366 days; throws on >512 results or >100,000 scanned days.
ngbSchedulerExportPdfFunctionRender loaded appointments intersecting the exclusive civil range into a paginated agenda.
NgbSchedulerGroupingInterfaceGroup dimensions follow this order. At most 100 combinations; four lanes render per page.
NgbSchedulerHeaderTemplateContextInterfaceDate headings in Agenda, time grids, Month and Multi-Week.
NgbSchedulerHeaderTemplateDirectiveDirectiveStandalone typed ng-template directive. Date headings in Agenda, time grids, Month and Multi-Week.
ngbSchedulerInstantFunctionResolve one exact instant; reject is the default, and no choice can normalize a gap.
ngbSchedulerLocalTimeFunctionProject an explicit-offset instant to local ISO fields, independently of the host timezone.
NgbSchedulerMessagesInterfaceReturn localized text or fall back to the supplied English message.
NgbSchedulerMutationInterfaceDetached draft and original snapshots. The application owns persistence and authorization.
Return the saved event for create/update; resolve without a value for delete.
NgbSchedulerMutationKind type exported by the ngbootstrap package API.
NgbSchedulerOccurrenceInterfaceNgbSchedulerOccurrence interface exported by the ngbootstrap package API.
NgbSchedulerPdfDocumentInterfaceA fresh portrait A4 jsPDF-compatible document configured in millimetres.
NgbSchedulerRangeInterfaceHalf-open civil date range, display timezone and selected view.
Standalone rule authoring. Emits valid detached rules only; the application owns saving the series.
NgbSchedulerRecurrenceExceptionInterfaceMissing event cancels the original occurrence; replacement keeps the original identity.
NgbSchedulerRecurrenceRangeInterfaceNgbSchedulerRecurrenceRange interface exported by the ngbootstrap package API.
NgbSchedulerRecurrenceRuleInterfaceTyped JSON subset, not an RFC5545 RRULE string. Missing count/until means unbounded series.
ngbSchedulerResolveTimeFunctionResolve ISO local fields for 2000–2100 using whole-minute offsets; no gap normalization.
NgbSchedulerResourceInterfaceOrdered items for an event assignment dimension, such as staff or room.
NgbSchedulerResourceItemInterfaceOne named resource; keys are stable within their definition.
NgbSchedulerResourceTemplateContextInterfaceContents of each grouped resource heading.
Standalone typed ng-template directive. Contents of each grouped resource heading.
NgbSchedulerSeriesInterfaceNgbSchedulerSeries interface exported by the ngbootstrap package API.
Editable fields of the replacement suffix; IDs and exceptions are managed by the split operation.
Conversion replaces the original appointment and inserts the series in one application-owned transaction.
NgbSchedulerSeriesCreationHandler type exported by the ngbootstrap package API.
NgbSchedulerSeriesCreationPolicy type exported by the ngbootstrap package API.
NgbSchedulerSeriesEditPolicy type exported by the ngbootstrap package API.
Return a unique, stable series ID. Called once when repeating is first enabled in an editor session.
NgbSchedulerSeriesMutationInterfaceExplicit whole-series write. Occurrence writes continue to use NgbSchedulerMutation.
NgbSchedulerSeriesMutationHandler type exported by the ngbootstrap package API.
One atomic transaction: replace/remove original with before, then insert following for update.
Atomically replace/remove original and insert the following series. Resolve only after commit.
NgbSchedulerSeriesSplitPolicy type exported by the ngbootstrap package API.
ngbSchedulerSetExceptionFunctionImmutable cancellation/replacement for a known original occurrence; expansion validates membership.
NgbSchedulerSlotInterfaceCivil date, time and IANA timezone; deliberately not an instant or booking.
NgbSchedulerSlotRangeInterfaceContinuous civil-time selection with inclusive start and exclusive end. May include hidden days and hours; applications resolve timezone ambiguity and availability.
NgbSchedulerSlotTemplateContextInterfaceContent inside selectable time-grid slots.
NgbSchedulerSlotTemplateDirectiveDirectiveStandalone typed ng-template directive. Content inside selectable time-grid slots.
ngbSchedulerSplitSeriesFunctionSplit by original civil identity. A null following ID deletes this and subsequent occurrences.
Repeated times require an explicit choice; nonexistent times are always rejected.
NgbSchedulerTimeResolutionInterfaceResult of resolving a local date/time, without silently choosing a DST occurrence.
NgbSchedulerToolbarContextInterfaceLive navigation state and actions for a custom Scheduler toolbar.
NgbSchedulerToolbarDirectiveDirectiveStandalone ngbSchedulerToolbar directive for a typed toolbar template.
ngbSchedulerValidateRecurrenceFunctionngbSchedulerValidateRecurrence function exported by the ngbootstrap package API.
NgbSchedulerViewTypeSelect a day, multi-day, week, work-week, month, multi-week, agenda, timeline, year or custom view. Timeline supports day, week and month scales.
NgbSchedulerViewConfigInterfaceEnabled built-in view with type, optional nonempty toolbar label and validated per-view options.
NgbSchedulerViewDirectiveDirectiveDeclares one ordered view directly inside the Scheduler. Active declarations take precedence over the views input.
NgbSchedulerViewOptionsInterfacePer-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.
Signatures come from the installed public package. Usage guides explain workflows; this index is the reference for exported names and contracts.