tooltips

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tip added in v0.5.2

func Tip(text string) htmx.Node

Tip represents a tooltip with a message.

func Tooltip

func Tooltip(p TooltipProps, children ...htmx.Node) htmx.Node

Tooltip creates a tooltip component with the specified properties and children.

func TooltipAccent

func TooltipAccent(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipAccent ...

func TooltipError

func TooltipError(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipError ...

func TooltipInfo

func TooltipInfo(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipInfo ...

func TooltipPrimary

func TooltipPrimary(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipPrimary ...

func TooltipSecondary

func TooltipSecondary(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipSecondary ...

func TooltipSuccess

func TooltipSuccess(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipSuccess ...

func TooltipWarning

func TooltipWarning(p TooltipProps, children ...htmx.Node) htmx.Node

TooltipWarning ...

Types

type TooltipProps

type TooltipProps struct {
	htmx.ClassNames
	Open bool
	Tip  string
}

TooltipProps represents the properties for a tooltip component.

Jump to

Keyboard shortcuts

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