Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ComponentAction ¶
type ComponentAction struct { CtxBdl protocol.ContextBundle State state `json:"state"` Props props `json:"props"` Operations map[string]operations `json:"operations"` Type string `json:"type"` }
func (*ComponentAction) HandlerCancelValue ¶
func (i *ComponentAction) HandlerCancelValue() error
func (*ComponentAction) HandlerSubmitValue ¶
func (i *ComponentAction) HandlerSubmitValue() error
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*ComponentAction) SetBundle ¶
func (a *ComponentAction) SetBundle(b protocol.ContextBundle) error
Click to show internal directories.
Click to hide internal directories.