notifyAddButton

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type AddButtonOperation

type AddButtonOperation struct {
	Click Click `json:"click"`
}

type Click

type Click struct {
	Reload bool `json:"reload"`
	// contains filtered or unexported fields
}

type CommandState

type CommandState struct {
	Visible  bool        `json:"visible"`
	FormData interface{} `json:"formData"`
}

type ComponentButton

type ComponentButton struct {
	Type       string             `json:"type"`
	Operations AddButtonOperation `json:"operations"`
	Props      Props              `json:"props"`
	State      State              `json:"state"`
	// contains filtered or unexported fields
}

func (*ComponentButton) Export

func (cb *ComponentButton) Export(c *apistructs.Component) error

func (*ComponentButton) Import

func (cb *ComponentButton) Import(c *apistructs.Component) error

type Props

type Props struct {
	Text string `json:"text"`
	Type string `json:"type"`
}

type State

type State struct {
	Operation string `json:"operation"`
	Visible   bool   `json:"visible"`
	EditId    uint64 `json:"editId"`
}

Jump to

Keyboard shortcuts

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