issueType

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentAction

type ComponentAction struct {
	State      State                  `json:"state,omitempty"`
	Props      Props                  `json:"props,omitempty"`
	Operations map[string]interface{} `json:"operations,omitempty"`
	base.DefaultProvider
	// contains filtered or unexported fields
}

func (*ComponentAction) InitFromProtocol

func (f *ComponentAction) InitFromProtocol(ctx context.Context, c *cptype.Component) error

func (*ComponentAction) Render

func (*ComponentAction) SetToProtocolComponent

func (f *ComponentAction) SetToProtocolComponent(c *cptype.Component) error

type Operation

type Operation struct {
	Key    string `json:"key,omitempty"`
	Reload bool   `json:"reload"`
}

type Option

type Option struct {
	Key      string `json:"key,omitempty"`
	Text     string `json:"text,omitempty"`
	Disabled bool   `json:"disabled,omitempty"`
}

type Props

type Props struct {
	ButtonStyle string   `json:"buttonStyle,omitempty"`
	Options     []Option `json:"options,omitempty"`
	RadioType   string   `json:"radioType,omitempty"`
}

type State

type State struct {
	Value string `json:"value,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL