Documentation
¶
Index ¶
Constants ¶
View Source
const ( SCROLL_LEFT = "h" SCROLL_RIGHT = "l" SCROLL_UP = "k" SCROLL_DOWN = "j" SCROLL_HOME = "0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScrollViewModel ¶
type ScrollViewModel struct {
// contains filtered or unexported fields
}
func GetScrollView ¶
func GetScrollView(width int, height int, content string) ScrollViewModel
func (ScrollViewModel) Init ¶
func (m ScrollViewModel) Init() tea.Cmd
func (ScrollViewModel) View ¶
func (m ScrollViewModel) View() string
Click to show internal directories.
Click to hide internal directories.