Documentation ¶ Overview ¶ templ: version: v0.3.977 Index ¶ func Loading(props ...Props) templ.Component type Props type Size type Type Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Loading ¶ func Loading(props ...Props) templ.Component Loading renders a loading indicator. Types ¶ type Props ¶ type Props struct { ID string Class string Attributes templ.Attributes Type Type Size Size } type Size ¶ type Size string const ( SizeDefault Size = "" SizeXs Size = "loading-xs" SizeSm Size = "loading-sm" SizeMd Size = "loading-md" SizeLg Size = "loading-lg" SizeXl Size = "loading-xl" ) type Type ¶ type Type string const ( TypeDefault Type = "" TypeSpinner Type = "loading-spinner" TypeDots Type = "loading-dots" TypeRing Type = "loading-ring" TypeBall Type = "loading-ball" TypeBars Type = "loading-bars" TypeInfinity Type = "loading-infinity" ) Source Files ¶ View all Source files loading_templ.go Click to show internal directories. Click to hide internal directories.