package jsrunner
Import Path
oss.terrastruct.com/d2/lib/jsrunner (on go.dev )
Dependency Relation
imports 5 packages , and imported by 5 packages
Package-Level Type Names (total 4)
/* sort by: alphabet | popularity */
type JSRunner (interface)
Methods (total 6 )
( JSRunner) Engine () Engine
( JSRunner) MustGet (string ) (JSValue , error )
( JSRunner) NewObject () JSObject
( JSRunner) RunString (code string ) (JSValue , error )
( JSRunner) Set (name string , value interface{}) error
( JSRunner) WaitPromise (ctx context .Context , val JSValue ) (interface{}, error )
As Outputs Of (at least one exported )
func NewJSRunner () JSRunner
As Inputs Of (at least 11 )
func oss.terrastruct.com/d2/d2renderers/d2sketch.ArrowheadJS (r JSRunner , arrowhead d2target .Arrowhead , stroke string , strokeWidth int ) (arrowJS, extraJS string )
func oss.terrastruct.com/d2/d2renderers/d2sketch.Arrowheads (r JSRunner , connection d2target .Connection , srcAdj, dstAdj *geo .Point ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.Class (r JSRunner , shape d2target .Shape ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.Connection (r JSRunner , connection d2target .Connection , path, attrs string ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.DoubleOval (r JSRunner , shape d2target .Shape ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.DoubleRect (r JSRunner , shape d2target .Shape ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.LoadJS (runner JSRunner ) error
func oss.terrastruct.com/d2/d2renderers/d2sketch.Oval (r JSRunner , shape d2target .Shape ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.Paths (r JSRunner , shape d2target .Shape , paths []string ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.Rect (r JSRunner , shape d2target .Shape ) (string , error )
func oss.terrastruct.com/d2/d2renderers/d2sketch.Table (r JSRunner , shape d2target .Shape ) (string , error )
Package-Level Functions (only one)
Package-Level Constants (total 2)
The pages are generated with Golds v0.8.2 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .