tabs

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 1 module, 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

This section is empty.

Types

type MenuPair struct {
	Key  table2.TableType `json:"key"`
	Text string           `json:"text"`
}

type Meta

type Meta struct {
	ActiveKey string `json:"activeKey"`
}

type Operation

type Operation struct {
	Key      string `json:"key"`
	Reload   bool   `json:"reload"`
	FillMeta string `json:"fillMeta"`
	Meta     Meta   `json:"meta"`
}

type Props

type Props struct {
	Size        string     `json:"size"`
	RadioType   string     `json:"radioType"`
	Options     []MenuPair `json:"options"`
	ButtonStyle string     `json:"buttonStyle"`
}

type State

type State struct {
	Value             table2.TableType `json:"value"`
	TableTabsURLQuery string           `json:"tableTabs__urlQuery,omitempty"`
}

type Tabs

type Tabs struct {
	base.DefaultProvider
	SDK        *cptype.SDK
	Type       string                 `json:"type"`
	Props      Props                  `json:"props"`
	State      State                  `json:"state"`
	Operations map[string]interface{} `json:"operations"`
}

func (*Tabs) DecodeURLQuery

func (t *Tabs) DecodeURLQuery() error

func (*Tabs) EncodeURLQuery

func (t *Tabs) EncodeURLQuery() error

func (*Tabs) Render

func (*Tabs) RenderProtocol

func (t *Tabs) RenderProtocol(c *cptype.Component) error

Jump to

Keyboard shortcuts

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