renderer

package
v0.0.0-...-76d4100 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Portal

func Portal(target dom.Element) func(children ...interface{}) *VNode

func RenderToString

func RenderToString(ctx context.Context, w io.Writer, vnode *gox.VNode) error

Types

type Root

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

func CreateRoot

func CreateRoot(root Element) *Root

func (*Root) Act

func (r *Root) Act(fn func())

func (*Root) Close

func (r *Root) Close() error

func (*Root) Render

func (r *Root) Render(ctx context.Context, vnode *VNode) error

Jump to

Keyboard shortcuts

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