requestbody

package
v0.0.0-...-6c7f7a7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 4 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 {
	textarea.Model
}

func New

func New(opts ...Option) *Model

func (*Model) Update

func (m *Model) Update(msg tea.Msg) tea.Cmd

func (*Model) Value

func (m *Model) Value() string

TODO: implement

func (*Model) View

func (m *Model) View() string

type Option

type Option func(*Model)

func WithBlurredStyle

func WithBlurredStyle(style textarea.Style) Option

func WithCursorStyle

func WithCursorStyle(style lipgloss.Style) Option

func WithFocusedStyle

func WithFocusedStyle(style textarea.Style) Option

func WithPlaceholder

func WithPlaceholder(placeholder string) Option

func WithPrompt

func WithPrompt(prompt string) Option

Jump to

Keyboard shortcuts

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