← Scheduler API

Component · v2.8.0

NgbSchedulerRecurrenceEditorComponent

Standalone rule authoring. Emits valid detached rules only; the application owns saving the series.

Import

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

Selector:ngb-scheduler-recurrence-editor

Declaration

class NgbSchedulerRecurrenceEditorComponent implements OnChanges

Inputs

messages

rule

Outputs

ruleChange

ruleChange: EventEmitter<NgbSchedulerRecurrenceRule>

Properties

days

readonly days: string[]

frequency

frequency: NgbSchedulerRecurrenceRule['frequency']

Default:'weekly'

interval

interval: number

Default:1

weekdays

weekdays: number[]

pattern

pattern: string

Default:'date'

position

position: number

Default:1

weekday

weekday: number

Default:1

ending

ending: string

Default:'count'

count

count: number

Default:8

until

until: string

Default:''

error

readonly error: i0.WritableSignal<string>

summary

readonly summary: i0.WritableSignal<string>

Methods

toggle

toggle(day: number, checked: boolean): void

getRule

Validate current draft controls without committing them.

apply

apply(): void

Referenced types

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