block

package
v0.24.8 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Overview

package block transforms story files into blockly workspace files ( languageVersion: 0 ) see: https://developers.google.com/blockly/guides/configure/web/serialization

Index

Constants

This section is empty.

Variables

View Source
var NewId = newId

Functions

func Build

func Build(out *js.Builder, src typeinfo.Instance, _zeroPos bool) (err error)

writes a new block into what might be the topLevel array of blocks, or the value of a block or shadow key.

func Convert

func Convert(story typeinfo.Instance) (ret string, err error)

convert the passed elements to blockly workspace format

Types

This section is empty.

Jump to

Keyboard shortcuts

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