tabExecuteButton

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"`
	Meta   interface{} `json:"meta"`
}

type ClientMetaData

type ClientMetaData struct {
	Env       string `json:"env"`
	ScenesID  uint64 `json:"scenesID"`
	ConfigEnv string `json:"configEnv"`
}

type ComponentAction

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

func (*ComponentAction) SetBundle

func (a *ComponentAction) SetBundle(b protocol.ContextBundle) error
type Menu struct {
	Text       string                 `json:"text"`
	Key        string                 `json:"key"`
	Operations map[string]interface{} `json:"operations"`
}

type Props

type Props struct {
	Test  string `json:"text"`
	Type  string `json:"type"`
	Menus []Menu `json:"menu"`
}

type State

type State struct {
	Env       string               `json:"env"`
	ScenesID  uint64               `json:"scenesID"`
	SceneId   uint64               `json:"sceneId"`
	ActiveKey apistructs.ActiveKey `json:"activeKey"`
}

Jump to

Keyboard shortcuts

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