Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Toggle Toggle popover visibility between shown and hidden states. If popover is hidden, // show it; if popover is shown, hide it. Default behavior for most interactions. Toggle = PopoverTargetAction("toggle") // Show Show the target popover if it's currently hidden. If popover is already shown, // no action is taken. Useful for explicit "open" buttons. Show = PopoverTargetAction("show") // Hide Hide the target popover if it's currently shown. If popover is already hidden, // no action is taken. Useful for explicit "close" buttons. Hide = PopoverTargetAction("hide") )
Variables for PopoverTargetAction values
Functions ¶
This section is empty.
Types ¶
type PopoverTargetAction ¶
type PopoverTargetAction []byte
PopoverTargetAction Action to perform on target popover element. Controls how button or input interacts with associated popover elements for show/hide/toggle functionality.
func Custom ¶
func Custom(value string) PopoverTargetAction
Custom allows setting a custom PopoverTargetAction value for edge cases or future specifications. Use this when the predefined constants don't cover your specific use case.
Click to show internal directories.
Click to hide internal directories.