Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddButtonCandidate ¶
type AddButtonCandidateOp ¶
type ComponentAction ¶
type ComponentAction struct{ base.DefaultProvider }
func (*ComponentAction) CheckUserPermission ¶
func (ca *ComponentAction) CheckUserPermission(ctx context.Context) (bool, error)
GetUserPermission check Guest permission
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
type Props ¶
type Props struct {
Menu []AddButtonCandidate `json:"menu"`
SuffixIcon string `json:"suffixIcon"`
Text string `json:"text"`
Type string `json:"type"`
Operations AddButtonCandidateOp `json:"operations"`
Disabled bool `json:"disabled"`
}
Click to show internal directories.
Click to hide internal directories.