Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type AddButtonOperation ¶
type AddButtonOperation struct {
Click Click `json:"click"`
}
type Click ¶
type Click struct {
Reload bool `json:"reload"`
// contains filtered or unexported fields
}
type CommandState ¶
type CommandState struct {
Visible bool `json:"visible"`
FormData interface{} `json:"formData"`
}
type ComponentButton ¶
type ComponentButton struct {
Type string `json:"type"`
Operations AddButtonOperation `json:"operations"`
Props Props `json:"props"`
State State `json:"state"`
// contains filtered or unexported fields
}
func (*ComponentButton) Export ¶
func (cb *ComponentButton) Export(c *apistructs.Component) error
func (*ComponentButton) Import ¶
func (cb *ComponentButton) Import(c *apistructs.Component) error
func (*ComponentButton) Render ¶
func (cb *ComponentButton) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
Click to show internal directories.
Click to hide internal directories.