Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type CommonText ¶
type ComponentText ¶
type ComponentText struct { CommonText // contains filtered or unexported fields }
func (*ComponentText) GenComponentState ¶
func (i *ComponentText) GenComponentState(c *apistructs.Component) error
GenComponentState 获取state
func (*ComponentText) Render ¶
func (i *ComponentText) Render(ctx context.Context, c *apistructs.Component, _ apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) (err error)
func (*ComponentText) SetCtxBundle ¶ added in v1.2.1
func (i *ComponentText) SetCtxBundle(ctx context.Context) error
type Props ¶
type Props struct { Visible bool `json:"visible"` RenderType string `json:"renderType"` StyleConfig StyleConfig `json:"styleConfig"` Value map[string]interface{} `json:"value"` }
type StyleConfig ¶
Click to show internal directories.
Click to hide internal directories.