emptyOrgContent

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type EmptyOrgContent

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

func (*EmptyOrgContent) SetCtxBundle

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

type PropValue

type PropValue struct {
	RenderType    string          `json:"renderType"`
	Title         string          `json:"title,omitempty"`
	GapSize       string          `json:"gapSize,omitempty"`
	Visible       bool            `json:"visible"`
	Value         interface{}     `json:"value"`
	StyleConfig   map[string]bool `json:"styleConfig,omitempty"`
	TextStyleName map[string]bool `json:"textStyleName,omitempty"`
}

type Props

type Props struct {
	Visible bool    `json:"visible"`
	Value   []Value `json:"value"`
}

type Value

type Value struct {
	Props   PropValue `json:"props"`
	GapSize string    `json:"gapSize"`
}

Jump to

Keyboard shortcuts

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