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: 0

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