swap

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Swap

func Swap(p SwapProps, children ...htmx.Node) htmx.Node

Swap is a component for the htmx swap extension.

func SwapOff

func SwapOff(p SwapProps, children ...htmx.Node) htmx.Node

SwapOff is a component for the off state of the swap component.

func SwapOn

func SwapOn(p SwapProps, children ...htmx.Node) htmx.Node

SwapOn is a component for the on state of the swap component.

Types

type SwapProps

type SwapProps struct {
	ClassNames htmx.ClassNames
	Value      string
}

SwapProps contains the properties for the swap component.

Jump to

Keyboard shortcuts

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