package
Version:
v1.31.0
Opens a new window with list of versions in this module.
Published: Jan 25, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Item interface {
Render(selected, checked bool) string
}
type Model[I Item] struct {
Data []I
PerPage int
Initial []bool
}
func (m Model[I]) Checked() []I
func (m Model[I]) CheckedIndices() []int
Update method responds to various events and modifies the data model
according to the corresponding events
Source Files
¶
Click to show internal directories.
Click to hide internal directories.