web

package
v0.0.0-...-d107f78 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderTo

func RenderTo(ctx context.Context, document js.Value, n html.Node, rootEl js.Value) error

RenderTo renders the given HTML node to the given JS element.

func RenderToElementID

func RenderToElementID(ctx context.Context, n html.Node, id string) error

RenderToElementID is a helper function to quickly render the given Node to a HTML element that has the given ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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