render

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder is the low-level generated render target. Static writes are trusted compiler output; expression writes escape by default.

func (*Builder) Static

func (builder *Builder) Static(value string)

Static writes compiler-owned markup.

func (*Builder) String

func (builder *Builder) String() string

String returns the rendered HTML.

func (*Builder) Text

func (builder *Builder) Text(value string)

Text writes expression output escaped for HTML text context.

type Renderer

type Renderer struct{}

Renderer is the core HTML renderer used by static, action, partial, and SSR addons.

func (Renderer) Render

func (renderer Renderer) Render(ctx context.Context, components ...component.Component) (string, error)

Render joins generated component output into one HTML response body.

Jump to

Keyboard shortcuts

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