title

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Title

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

func New

func New(text ...any) Title

func (Title) ActionText

func (title Title) ActionText() string

func (Title) Duration

func (title Title) Duration() time.Duration

func (Title) FadeInDuration

func (title Title) FadeInDuration() time.Duration

func (Title) FadeOutDuration

func (title Title) FadeOutDuration() time.Duration

func (Title) Subtitle

func (title Title) Subtitle() string

func (Title) Text

func (title Title) Text() string

func (Title) WithActionText

func (title Title) WithActionText(text ...any) Title

func (Title) WithDuration

func (title Title) WithDuration(d time.Duration) Title

func (Title) WithFadeInDuration

func (title Title) WithFadeInDuration(d time.Duration) Title

func (Title) WithFadeOutDuration

func (title Title) WithFadeOutDuration(d time.Duration) Title

func (Title) WithSubtitle

func (title Title) WithSubtitle(text ...any) Title

Jump to

Keyboard shortcuts

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