package
1.0.0
Repository: https://github.com/joegruffins/termdash.git
Documentation: pkg.go.dev

# Packages

Binary buttondemo shows the functionality of a button widget.

# Functions

FillColor sets the fill color of the button.
GlobalKey is like Key, but makes the widget respond to the key even if its container isn't focused.
Height sets the height of the button in cells.
Key configures the keyboard key that presses the button.
KeyUpDelay is the amount of time the button will remain "pressed down" after triggered by the configured key.
New returns a new Button that will display the provided text.
ShadowColor sets the color of the shadow under the button.
TextColor sets the color of the text label in the button.
Width sets the width of the button in cells.
WidthFor sets the width of the button as if it was displaying the provided text.

# Constants

DefaultHeight is the default for the Height option.
DefaultKeyUpDelay is the default value for the KeyUpDelay option.

# Structs

Button can be pressed using a mouse click or a configured keyboard key.

# Interfaces

Option is used to provide options.

# Type aliases

CallbackFn is the function called when the button is pressed.