carousel

package
v0.0.0-...-de93bbd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Carousel(props ...Props) templ.Component

func Content

func Content(props ...ContentProps) templ.Component

func Indicators

func Indicators(props ...IndicatorsProps) templ.Component

func Item

func Item(props ...ItemProps) templ.Component

func Next

func Next(props ...NextProps) templ.Component

func Previous

func Previous(props ...PreviousProps) templ.Component

func Script

func Script() templ.Component

Types

type ContentProps

type ContentProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type IndicatorsProps

type IndicatorsProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Count      int
}

type ItemProps

type ItemProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type NextProps

type NextProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type PreviousProps

type PreviousProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Autoplay   bool
	Interval   int
	Loop       bool
}

Jump to

Keyboard shortcuts

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