Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPageSwitcher ¶
func NewPageSwitcher(c sevcord.Ctx, p *PageSwitcher)
Types ¶
type PageSwitchGetter ¶
func PSGetterFromItems ¶
func PSGetterFromItems[T any](items []T, pageLength int) PageSwitchGetter
type PageSwitcher ¶
type PageSwitcher struct { Title string Content PageSwitchGetter // Optional Thumbnail *string Color int // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.