Versions in this module Expand all Collapse all v1 v1.5.0 Jan 6, 2022 Changes in this version type Operation + SuccessMsg string v1.4.0 Nov 16, 2021 Changes in this version + type Command struct + Key string + State CommandState + Target string + type CommandState struct + Params map[string]string + type ComponentOperationButton struct + Props Props + Type string + func (b *ComponentOperationButton) Init(ctx servicehub.Context) error + func (b *ComponentOperationButton) InitComponent(ctx context.Context) + func (b *ComponentOperationButton) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error + func (b *ComponentOperationButton) SetComponentValue() + func (b *ComponentOperationButton) Transfer(component *cptype.Component) + type Menu struct + Key string + Operations map[string]interface{} + Text string + type Operation struct + Command Command + Confirm string + Key string + Reload bool + type Props struct + Menu []Menu + Text string + Type string