Documentation ¶
Index ¶
- func RenderCreator() protocol.CompRender
- type ComponentleftHeadButtonModal
- func (i *ComponentleftHeadButtonModal) GenComponentState(c *apistructs.Component) error
- func (i *ComponentleftHeadButtonModal) Initial()
- func (i *ComponentleftHeadButtonModal) Render(ctx context.Context, c *apistructs.Component, ...) (err error)
- func (i *ComponentleftHeadButtonModal) RenderClickButton() error
- func (i *ComponentleftHeadButtonModal) RenderProtocol(c *apistructs.Component, g *apistructs.GlobalStateData)
- func (i *ComponentleftHeadButtonModal) SetCtxBundle(b protocol.ContextBundle) error
- type Operation
- type State
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 (i *ComponentleftHeadButtonModal) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) (err error)
func (*ComponentleftHeadButtonModal) RenderClickButton ¶
func (i *ComponentleftHeadButtonModal) RenderClickButton() error
func (*ComponentleftHeadButtonModal) RenderProtocol ¶
func (i *ComponentleftHeadButtonModal) RenderProtocol(c *apistructs.Component, g *apistructs.GlobalStateData)
func (*ComponentleftHeadButtonModal) SetCtxBundle ¶
func (i *ComponentleftHeadButtonModal) SetCtxBundle(b protocol.ContextBundle) error
SetCtxBundle 设置bundle
Click to show internal directories.
Click to hide internal directories.