Documentation ¶
Index ¶
- type ComponentAction
- func (i *ComponentAction) HandlerChangeValue(meta map[string]interface{}) error
- func (i *ComponentAction) HandlerDefaultValue(meta map[string]interface{}, ctx context.Context) error
- func (i *ComponentAction) HandlerSearchValue(meta map[string]interface{}) error
- func (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, ...) error
- type Data
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentAction ¶
type ComponentAction struct { CtxBdl protocol.ContextBundle base.DefaultProvider Data Data `json:"data"` State state `json:"state"` Props props `json:"props"` Operations map[string]operations `json:"operations"` Type string `json:"type"` // contains filtered or unexported fields }
func (*ComponentAction) HandlerChangeValue ¶
func (i *ComponentAction) HandlerChangeValue(meta map[string]interface{}) error
func (*ComponentAction) HandlerDefaultValue ¶
func (i *ComponentAction) HandlerDefaultValue(meta map[string]interface{}, ctx context.Context) error
func (*ComponentAction) HandlerSearchValue ¶
func (i *ComponentAction) HandlerSearchValue(meta map[string]interface{}) error
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
Click to show internal directories.
Click to hide internal directories.