leftHeadButton

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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