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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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