renderer

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Node

func Node(ctx *Context, node dom.ElementNode)

Types

type Context

type Context struct {
	Draw  core.DrawCtx
	JS    *goja.Runtime
	Stack *style.Stack
}

func NewContext

func NewContext(ctx core.DrawCtx, jsvm *goja.Runtime) *Context

type DomRenderFn

type DomRenderFn func(ctx *Context, node dom.ElementNode)

Jump to

Keyboard shortcuts

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