spaceAddButton

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type AddButtonCandidate

type AddButtonCandidate struct {
	Disabled    bool                 `json:"disabled"`
	DisabledTip string               `json:"disabledTip"`
	Key         string               `json:"key"`
	Operations  AddButtonCandidateOp `json:"operations"`
	PrefixIcon  string               `json:"prefixIcon"`
	Text        string               `json:"text"`
}

type AddButtonCandidateOp

type AddButtonCandidateOp struct {
	Click struct {
		Reload  bool                   `json:"reload"`
		Key     string                 `json:"key"`
		Command map[string]interface{} `json:"command"`
	} `json:"click"`
}

type ComponentAction

type ComponentAction struct {
	CtxBdl protocol.ContextBundle
}

func (*ComponentAction) SetBundle added in v1.3.0

func (ca *ComponentAction) SetBundle(b protocol.ContextBundle) error

Jump to

Keyboard shortcuts

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