BeginHoverCard#
func BeginHoverCard(canvas *ui.Canvas, theme ui.Theme, viewport, anchor ui.Rect, options HoverCardOptions) HoverCardBeginHoverCard creates one preview declaration.
type HoverCard struct {
// contains filtered or unexported fields
}HoverCard is a nonmodal preview card with no timers or background work.
BeginHoverCard#func BeginHoverCard(canvas *ui.Canvas, theme ui.Theme, viewport, anchor ui.Rect, options HoverCardOptions) HoverCardBeginHoverCard creates one preview declaration.
Begin#func (card HoverCard) Begin(title, description string) HoverCardLayoutBegin paints the preview and leaves its layer active for custom content.
Disabled#func (card HoverCard) Disabled() HoverCardDisabled suppresses a preview opened from a disabled trigger.
End#func (card HoverCard) End()End closes the preview layer opened by Begin. It also ends what the card animates in and out.
Paint#func (card HoverCard) Paint(title, description string) HoverCardLayoutPaint paints standard title and description content.