Documentation ¶
Index ¶
- func RenderCreator() protocol.CompRender
- type ComponentSitePreview
- func (c *ComponentSitePreview) OperationRendering(identity apistructs.Identity) error
- func (c *ComponentSitePreview) Render(ctx context.Context, component *apistructs.Component, ...) error
- func (c *ComponentSitePreview) SetBundle(ctxBundle protocol.ContextBundle) error
- func (c *ComponentSitePreview) SetComponent(component *apistructs.Component) error
- type InfoData
- type PreviewState
- type PropsRender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ComponentSitePreview ¶
type ComponentSitePreview struct {
// contains filtered or unexported fields
}
func (*ComponentSitePreview) OperationRendering ¶
func (c *ComponentSitePreview) OperationRendering(identity apistructs.Identity) error
func (*ComponentSitePreview) Render ¶
func (c *ComponentSitePreview) Render(ctx context.Context, component *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*ComponentSitePreview) SetBundle ¶
func (c *ComponentSitePreview) SetBundle(ctxBundle protocol.ContextBundle) error
func (*ComponentSitePreview) SetComponent ¶
func (c *ComponentSitePreview) SetComponent(component *apistructs.Component) error
type PreviewState ¶
type PreviewState struct {
SiteID int64 `json:"siteID"`
}
type PropsRender ¶
Click to show internal directories.
Click to hide internal directories.