drawer

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(props ...CloseProps) templ.Component

func Content

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

func Description

func Description(props ...DescriptionProps) templ.Component

func Drawer

func Drawer(props ...Props) templ.Component
func Footer(props ...FooterProps) templ.Component
func Header(props ...HeaderProps) templ.Component

func Script

func Script() templ.Component

func Title

func Title(props ...TitleProps) templ.Component

func Trigger

func Trigger(props ...TriggerProps) templ.Component

Types

type CloseProps

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

type ContentProps

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

type DescriptionProps

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

type FooterProps

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

type HeaderProps

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

type Position

type Position string
const (
	PositionTop    Position = "top"
	PositionRight  Position = "right"
	PositionBottom Position = "bottom"
	PositionLeft   Position = "left"
)

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Side       Position
}

type TitleProps

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

type TriggerProps

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

Jump to

Keyboard shortcuts

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