sidebar

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

View Source
var DefaultID = "sidebar"

Functions

func C

func C(def D) templ.Component

Types

type D

type D struct {
	ID string
	//playground:import:github.com/jfbus/templui/components/button
	//playground:default:button.C(button.D{Label:"Button"})
	Content templ.Component
	// CustomStyle defines a custom style.
	// 	style.Custom{
	// 		"sidebar":         style.D{style.Add("...")},
	// 		"sidebar/content": style.D{style.Add("...")},
	//	}
	CustomStyle style.Custom
}

Directories

Path Synopsis
templ: version: v0.2.793
templ: version: v0.2.793

Jump to

Keyboard shortcuts

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