emptyOrgText

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 6 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