spinners

package
v0.0.0-...-253b25b Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

templ: version: v0.2.747

Index

Constants

View Source
const RootClassName = "spinner-"

Variables

This section is empty.

Functions

func Show

func Show(props SpinnerProps) templ.Component

Types

type Size

type Size string
const Large Size = "large"
const Small Size = "small"

type SpinnerProps

type SpinnerProps struct {
	base.ElementProps
	VisualType      VisualType
	Size            Size
	Text            string
	IsHTMXIndicator bool
}

func (SpinnerProps) BuildClassNames

func (sp SpinnerProps) BuildClassNames() (classes string)

type VisualType

type VisualType string
const Border VisualType = "border"
const Grow VisualType = "border"

Jump to

Keyboard shortcuts

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