header

package
v0.0.0-...-db1c41b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	foam.Common
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Model

func (*Model) CanGrow

func (m *Model) CanGrow() bool

func (*Model) GetHeight

func (m *Model) GetHeight() int

func (*Model) View

func (m *Model) View() string

type Option

type Option func(*Model)

func WithContent

func WithContent(text string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL