links

package
v0.21.11 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 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 Link struct {
	Builder sdk.Link
}

Link represents a panel link.

func New

func New(title string, url string, options ...Option) Link

New creates a new logs panel.

type Option

type Option func(link *Link)

Option represents an option that can be used to configure a panel link.

func OpenBlank

func OpenBlank() Option

OpenBlank configures the link to open in a new tab.

Jump to

Keyboard shortcuts

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