html

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(root runtime.Widget, sheet *style.Stylesheet, opts Options) ([]byte, error)

Generate renders a widget tree as a complete HTML page.

func StylesheetToCSS

func StylesheetToCSS(sheet *style.Stylesheet) string

StylesheetToCSS converts an FSS stylesheet to CSS.

Types

type Options

type Options struct {
	Title string
}

Options configures HTML page generation.

Jump to

Keyboard shortcuts

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