layout

package
v0.13.44 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layout

type Layout struct {
	Element *html.Element
	ID      html.ID
	Name    string
	Parent  *Layout
	// contains filtered or unexported fields
}

func NewLayout

func NewLayout(name string, elm *html.Element) *Layout

func (*Layout) Child

func (l *Layout) Child(name string, elm *html.Element) *Layout

func (*Layout) GetChild

func (l *Layout) GetChild(name string) *Layout

func (*Layout) HxAppendMe added in v0.13.33

func (l *Layout) HxAppendMe(link *web.Link) *web.Link

func (*Layout) HxInitJS

func (l *Layout) HxInitJS(url string, target html.ID) error

func (*Layout) HxLoadJS

func (l *Layout) HxLoadJS(code string, targetContext html.ID) error

func (*Layout) HxLoadPolling

func (l *Layout) HxLoadPolling(url string, inner *html.Element, delaySec int) *html.Element

for e.g. a progressbar

func (*Layout) HxOutOfBand

func (l *Layout) HxOutOfBand() *html.Element

func (*Layout) HxTargetMe

func (l *Layout) HxTargetMe(link *web.Link) *web.Link

func (*Layout) Set

func (l *Layout) Set(setter ...templ.Setter) html.HTML

Jump to

Keyboard shortcuts

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