renderer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

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

func NewRenderer

func NewRenderer(containerID string) *Renderer

func (*Renderer) GetContainer

func (r *Renderer) GetContainer() js.Value

GetContainer returns the container element

func (*Renderer) Render

func (r *Renderer) Render(vnode *vdom.VNode)

func (*Renderer) RequestFrame

func (r *Renderer) RequestFrame()

RequestFrame requests an animation frame for smooth rendering

Jump to

Keyboard shortcuts

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