Documentation ¶
Index ¶
- type Column
- type ComponentEventTable
- func (t *ComponentEventTable) GenComponentState(c *cptype.Component) error
- func (t *ComponentEventTable) Init(ctx servicehub.Context) error
- func (t *ComponentEventTable) InitComponent(ctx context.Context) error
- func (t *ComponentEventTable) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (t *ComponentEventTable) RenderList() error
- func (t *ComponentEventTable) SetComponentValue(ctx context.Context)
- func (t *ComponentEventTable) Transfer(component *cptype.Component)
- type Data
- type Item
- type Operation
- type Props
- type Sorter
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentEventTable ¶
type ComponentEventTable struct { base.DefaultProvider SDK *cptype.SDK `json:"-"` Type string `json:"type,omitempty"` Props Props `json:"props,omitempty"` Data Data `json:"data,omitempty"` State State `json:"state,omitempty"` Operations map[string]interface{} `json:"operations,omitempty"` // contains filtered or unexported fields }
func (*ComponentEventTable) GenComponentState ¶
func (t *ComponentEventTable) GenComponentState(c *cptype.Component) error
func (*ComponentEventTable) Init ¶
func (t *ComponentEventTable) Init(ctx servicehub.Context) error
func (*ComponentEventTable) InitComponent ¶
func (t *ComponentEventTable) InitComponent(ctx context.Context) error
func (*ComponentEventTable) Render ¶
func (t *ComponentEventTable) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, globalStateData *cptype.GlobalStateData) error
func (*ComponentEventTable) RenderList ¶
func (t *ComponentEventTable) RenderList() error
func (*ComponentEventTable) SetComponentValue ¶
func (t *ComponentEventTable) SetComponentValue(ctx context.Context)
func (*ComponentEventTable) Transfer ¶
func (t *ComponentEventTable) Transfer(component *cptype.Component)
Click to show internal directories.
Click to hide internal directories.