page

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: 4 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"`
}

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