content

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

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

Content helps construct a standard Content layout

func New

func New(h any) *Content

func (*Content) HandlerName

func (b *Content) HandlerName() string

func (*Content) RenderCSS

func (b *Content) RenderCSS() string

func (*Content) RenderHTML

func (b *Content) RenderHTML() string

func (*Content) SetTitle

func (b *Content) SetTitle(title string) *Content

func (*Content) Title

func (b *Content) Title() string

func (*Content) TrackedComponents

func (b *Content) TrackedComponents() []dom.HTMLRenderer

func (*Content) WithContent

func (b *Content) WithContent(c dom.HTMLRenderer) *Content

WithContent sets the main content component (formerly form/buttons).

func (*Content) WithHeader

func (b *Content) WithHeader(c dom.HTMLRenderer) *Content

WithHeader adds a component to the header controls area.

func (*Content) WithSidebar

func (b *Content) WithSidebar(c dom.HTMLRenderer) *Content

WithSidebar sets the sidebar component (formerly searchList).

Jump to

Keyboard shortcuts

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