tabs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 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 {
	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(component *cptype.Component)

Jump to

Keyboard shortcuts

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