类型 CalendarCommandKind

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

type CalendarCommandKind uint8

CalendarCommandKind is the intent of a navigation key, in the vocabulary of react-day-picker's keyboard model.

常量

const (
	CalendarCommandNone CalendarCommandKind = iota
	// CalendarCommandMoveDays moves focus by Amount days (-1 or 1).
	CalendarCommandMoveDays
	// CalendarCommandMoveWeeks moves focus by Amount weeks (-1 or 1).
	CalendarCommandMoveWeeks
	// CalendarCommandMoveMonths moves focus by Amount months (-1 or 1), PageUp
	// and PageDown.
	CalendarCommandMoveMonths
	// CalendarCommandMoveYears moves focus by Amount years (-1 or 1),
	// Shift+PageUp and Shift+PageDown.
	CalendarCommandMoveYears
	// CalendarCommandWeekStart and CalendarCommandWeekEnd move focus to the
	// first and last day of the focused week, Home and End.
	CalendarCommandWeekStart
	CalendarCommandWeekEnd
)