leftHeadButton

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: AGPL-3.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 ComponentleftHeadButtonModal

type ComponentleftHeadButtonModal struct {
	CtxBdl     protocol.ContextBundle
	Props      map[string]interface{} `json:"props"`
	Operations map[string]interface{} `json:"operations"`
	State      State                  `json:"state"`
}

func (*ComponentleftHeadButtonModal) GenComponentState

func (i *ComponentleftHeadButtonModal) GenComponentState(c *apistructs.Component) error

GenComponentState 获取state

func (*ComponentleftHeadButtonModal) Initial

func (i *ComponentleftHeadButtonModal) Initial()

func (*ComponentleftHeadButtonModal) Render

func (*ComponentleftHeadButtonModal) RenderClickButton

func (i *ComponentleftHeadButtonModal) RenderClickButton() error

func (*ComponentleftHeadButtonModal) RenderProtocol

func (*ComponentleftHeadButtonModal) SetCtxBundle

SetCtxBundle 设置bundle

type Operation

type Operation struct {
	Key    string `json:"key"`
	Reload bool   `json:"reload"`
}

type State

type State struct {
	ActionType  string `json:"actionType"`
	FormVisible bool   `json:"formVisible"`
}

Jump to

Keyboard shortcuts

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