notify

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmActionType

type ConfirmActionType int
const (
	RenameAction ConfirmActionType = iota
	DeleteAction
	QuitAction
	NoAction
	PermanentDeleteAction
)

type Model

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

func New

func New(open bool, title string, content string, confirmAction ConfirmActionType) Model

func (*Model) Close

func (m *Model) Close()

func (*Model) GetConfirmAction

func (m *Model) GetConfirmAction() ConfirmActionType

func (*Model) GetContent

func (m *Model) GetContent() string

func (*Model) GetTitle

func (m *Model) GetTitle() string

func (*Model) IsOpen

func (m *Model) IsOpen() bool

func (*Model) Open

func (m *Model) Open()

func (*Model) Render

func (m *Model) Render() string

TODO: Remove code duplication with typineModalRender

Jump to

Keyboard shortcuts

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