link

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(child widget.BaseWidget, opts ...Option) widget.BaseWidget

Types

type Option

type Option func(link *link)

func Class

func Class(class string) Option

func Flex

func Flex(flex int) Option

func FontColor

func FontColor(color string) Option

func FontFamily

func FontFamily(fontFamily string) Option

func FontSize

func FontSize(fontSize int) Option

func FontWeight

func FontWeight(fontWeight string) Option

func Href

func Href(href string) Option

func ID

func ID(id string) Option

func LineHeight

func LineHeight(lineHeight float64) Option

func NewTab

func NewTab(newTab bool) Option

func OnClick

func OnClick(handler options.OnClickHandler) Option

func Tooltip

func Tooltip(tooltip string) Option

Jump to

Keyboard shortcuts

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