Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultType = "Table"
)
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type JoinedBrief ¶
type JoinedBrief struct { Type string `json:"type"` Props props `json:"props"` Data data `json:"data"` State State `json:"state"` // contains filtered or unexported fields }
func (*JoinedBrief) GenComponentState ¶
func (this *JoinedBrief) GenComponentState(c *apistructs.Component) error
GenComponentState 获取state
func (*JoinedBrief) Render ¶
func (this *JoinedBrief) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*JoinedBrief) SetCtxBundle ¶
func (this *JoinedBrief) SetCtxBundle(ctx context.Context) error
type State ¶
type State struct { //OrgID string `json:"orgID"` //JoinedOrg bool `json:"joinedOrg"` //HavePros bool `json:"havePros"` //HaveApps bool `json:"haveApps"` ProsNum int `json:"prosNum"` }
type StyleNames ¶
Click to show internal directories.
Click to hide internal directories.