progress

package
v0.0.0-...-1cc67c1 Latest Latest
Warning

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

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

Documentation

Overview

templ: version: v0.2.778

Index

Constants

This section is empty.

Variables

View Source
var (
	WithClass = ui.WithClass[*RootProps]
	WithAttrs = ui.WithAttrs[*RootProps]
	WithAttr  = ui.WithAttr[*RootProps]
)

Functions

func Root

func Root(opts ...RootOption) templ.Component

Types

type RootOption

type RootOption = ui.Option[*RootProps]

func WithControl

func WithControl(c string) RootOption

provide a controling variable created using `x-data` on a parent component

func WithValue

func WithValue(v uint) RootOption

if a control is provided, `value` will be ignored.

default value - 0

type RootProps

type RootProps struct {
	ui.CoreProps
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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