loader

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package loader implements the default loader.

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

View Source
var DefaultLoader = `` /* 1127-byte string literal not displayed */

DefaultLoader is the default loader (a spinning circle).

Functions

func C

func C(def D) templ.Component

Types

type D

type D struct {
	// Size defines the loader size.
	Size size.Size
	// CustomStyle defines a custom style.
	// 	style.Custom{
	// 		"loader":      style.D{style.Add("...")},
	//	}
	CustomStyle style.Custom
}

Jump to

Keyboard shortcuts

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