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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation struct {
	Key    string `json:"key"`
	Reload bool   `json:"reload"`
}

type Option

type Option struct {
	Key  string `json:"key,omitempty"`
	Text string `json:"text,omitempty"`
}

type Props

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

type State

type State struct {
	Value string `json:"value"`
}

type Tabs

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

func (*Tabs) GenComponentState

func (t *Tabs) GenComponentState(component *cptype.Component) error

func (*Tabs) Render

func (*Tabs) Transfer

func (t *Tabs) Transfer(c *cptype.Component)

Jump to

Keyboard shortcuts

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