类型 CalendarOptions

API 文档由 Go 源码生成,内容为英文。

type CalendarOptions struct {
	MonthTitle       string
	Weekdays         [calendarColumnCount]string
	Days             []CalendarDay
	PreviousID       ui.ID
	NextID           ui.ID
	PreviousLabel    string
	NextLabel        string
	PreviousDisabled bool
	NextDisabled     bool
}

CalendarOptions contains the complete application-owned month snapshot. Weekdays are always painted as seven columns and Days are consumed in display order without allocating or deriving dates during Paint.