Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultPageSize = 100
)
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type MenuItem ¶
type MenuItem struct { Label string `json:"label"` Value string `json:"value"` PrefixImgSrc string `json:"prefixImgSrc"` Operations map[string]interface{} `json:"operations"` }
func RenItem ¶
func RenItem(org apistructs.OrgDTO) MenuItem
type OrgSwitch ¶
type OrgSwitch struct { Type string `json:"type"` Props props `json:"props"` //Data Data `json:"data"` State State `json:"state"` // contains filtered or unexported fields }
func (*OrgSwitch) Render ¶
func (this *OrgSwitch) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*OrgSwitch) RenderList ¶
Click to show internal directories.
Click to hide internal directories.