package
Version:
v1.14.4
Opens a new window with list of versions in this module.
Published: Mar 17, 2023
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.