batterStatsPopup

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New(bg string, batterId int, width int, height int) Model

func (Model) Init

func (p Model) Init() tea.Cmd

func (Model) Resize

func (p Model) Resize(msg tea.WindowSizeMsg, bgRaw string) popup.IPopup

func (Model) Update

func (p Model) Update(msg tea.Msg) (popup.IPopup, tea.Cmd)

func (Model) View

func (p Model) View() string

Jump to

Keyboard shortcuts

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