progress

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Progress

func Progress(p ProgressProps, children ...htmx.Node) htmx.Node

Progress is a component that renders a progress element

func ProgressInfo

func ProgressInfo(p ProgressProps, children ...htmx.Node) htmx.Node

ProgressInfo is a component that renders a info progress element

func ProgressIntermediate

func ProgressIntermediate(p ProgressProps, children ...htmx.Node) htmx.Node

ProgressIntermediate is a component that renders a intermediate progress element

func ProgressPrimary

func ProgressPrimary(p ProgressProps, children ...htmx.Node) htmx.Node

ProgressPrimary is a component that renders a primary progress element

func ProgressSecondary

func ProgressSecondary(p ProgressProps, children ...htmx.Node) htmx.Node

ProgressSecondary is a component that renders a secondary progress element

func ProgressSuccess

func ProgressSuccess(p ProgressProps, children ...htmx.Node) htmx.Node

ProgressSuccess is a component that renders a success progress element

func ProgressWarning

func ProgressWarning(p ProgressProps, children ...htmx.Node) htmx.Node

ProgressWarning is a component that renders a warning progress element

Types

type ProgressProps

type ProgressProps struct {
	ClassNames htmx.ClassNames
	Value      int
	Max        int
}

ProgressProps is a struct that contains the props of the progress component

Jump to

Keyboard shortcuts

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