MCPcopy
hub / github.com/mathaou/termdbms / Render

Method Render

list/list.go:40–40  ·  view source on GitHub ↗

Render renders the item's view.

(w io.Writer, m Model, index int, item Item)

Source from the content-addressed store, hash-verified

38type ItemDelegate interface {
39 // Render renders the item's view.
40 Render(w io.Writer, m Model, index int, item Item)
41
42 // Height is the height of the list item.
43 Height() int

Callers 15

RenderMethod · 0.65
initFunction · 0.65
DisplayTableFunction · 0.65
DisplayFormatTextFunction · 0.65
DisplaySelectionFunction · 0.65
RenderMethod · 0.65
setSizeMethod · 0.65
ViewMethod · 0.65
titleViewMethod · 0.65
statusViewMethod · 0.65
paginationViewMethod · 0.65
populatedViewMethod · 0.65

Implementers 2

itemDelegateviewer/snippets.go
DefaultDelegatelist/defaultitem.go

Calls

no outgoing calls

Tested by

no test coverage detected