dropdown

package
v0.0.0-...-73a5773 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

build !release

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dropdown struct {
	// contains filtered or unexported fields
}

func New

func New(logger *slog.Logger) *Dropdown
func (dropdown *Dropdown) Examples() embed.FS
func (d *Dropdown) JS() (string, error)
func (d *Dropdown) Render(r *http.Request, attrs ui.Attributes) (*html.Node, error)

type Item

type Item struct{}

func (*Item) Render

func (*Item) Render(r *http.Request, attrs ui.Attributes) (*html.Node, error)

Jump to

Keyboard shortcuts

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