Documentation ¶
Index ¶
- type ComponentYamlDrawer
- func (d *ComponentYamlDrawer) GenComponentState(component *cptype.Component) error
- func (d *ComponentYamlDrawer) InitComponent(ctx context.Context)
- func (d *ComponentYamlDrawer) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (d *ComponentYamlDrawer) Transfer(component *cptype.Component)
- type Props
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentYamlDrawer ¶
type ComponentYamlDrawer struct { Type string `json:"type,omitempty"` Props Props `json:"props"` State State `json:"state"` // contains filtered or unexported fields }
func (*ComponentYamlDrawer) GenComponentState ¶
func (d *ComponentYamlDrawer) GenComponentState(component *cptype.Component) error
func (*ComponentYamlDrawer) InitComponent ¶
func (d *ComponentYamlDrawer) InitComponent(ctx context.Context)
func (*ComponentYamlDrawer) Render ¶
func (d *ComponentYamlDrawer) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*ComponentYamlDrawer) Transfer ¶
func (d *ComponentYamlDrawer) Transfer(component *cptype.Component)
Click to show internal directories.
Click to hide internal directories.