dom

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 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 ChildrenRenderer

type ChildrenRenderer interface {
	RenderChildren(*strings.Builder)
}

ChildrenRenderer is the interface for DOM types that have children that can be rendered.

ChildrenRenderer is used for generating HTML and TextContent from DOM nodes.

type Renderer

type Renderer interface {
	Render(*strings.Builder)
}

Renderer is the interface for DOM types that can render themselves.

Renderer is used for generating HTML and TextContent from DOM nodes.

Jump to

Keyboard shortcuts

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