disclosure

package
v0.0.0-...-c353a36 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

templ: version: v0.3.1001

Package disclosure wraps native disclosure Details/Summary primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disclosure

func Disclosure(props DisclosureProps) templ.Component

func DisclosureSummary

func DisclosureSummary(props DisclosureSummaryProps) templ.Component

Types

type DisclosureProps

type DisclosureProps struct {
	Class string
	Open  bool
}

type DisclosureSummaryProps

type DisclosureSummaryProps struct {
	Class string
}

Jump to

Keyboard shortcuts

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