page

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type ClickOperation

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

type Command

type Command struct {
	Key          string `json:"key"`
	ScenarioType string `json:"scenarioType"`
	ScenarioKey  string `json:"scenarioKey"`
}

type ComponentPage

type ComponentPage struct {
	CtxBdl protocol.ContextBundle
	State  State `json:"state"`
	Props  Props `json:"props"`
}

func (*ComponentPage) SetCtxBundle added in v1.2.1

func (i *ComponentPage) SetCtxBundle(ctx context.Context) error

type Option

type Option struct {
	Key        string                 `json:"key"`
	Name       string                 `json:"name"`
	Operations map[string]interface{} `json:"operations"`
}

type Props

type Props struct {
	TabMenu []Option `json:"tabMenu"`
}

type State

type State struct {
	ActiveKey string `json:"activeKey"`
}

Jump to

Keyboard shortcuts

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