emptyOrgText

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFontSize   = 16
	DefaultLineHeight = 24
	DefaultType       = "TextGroup"
)

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type Command

type Command struct {
	Key     string `json:"key"`
	Target  string `json:"target"`
	JumpOut bool   `json:"jumpOut"`
	Visible bool   `json:"visible"`
}

type EmptyOrgText

type EmptyOrgText struct {
	Type       string               `json:"type"`
	Props      props                `json:"props"`
	Operations map[string]Operation `json:"operations"`
	// contains filtered or unexported fields
}

func (*EmptyOrgText) SetCtxBundle

func (this *EmptyOrgText) SetCtxBundle(ctx context.Context) error

type Operation

type Operation struct {
	Command Command `json:"command"`
	Key     string  `json:"key"`
	Reload  bool    `json:"reload"`
	Show    bool    `json:"show"`
}

Jump to

Keyboard shortcuts

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