Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlexLayout ¶
type FlexLayout struct {
// contains filtered or unexported fields
}
FlexLayout is a flex layout manager.
func (*FlexLayout) AddButton ¶
func (fl *FlexLayout) AddButton(name string, payload action.Payload, buttonOptions ...component.ButtonOption)
AddButton adds a button the button group for a flex layout.
func (*FlexLayout) AddSection ¶
func (fl *FlexLayout) AddSection() *Section
AddSection adds a new section to the flex layout.
func (*FlexLayout) ToComponent ¶
func (fl *FlexLayout) ToComponent(title string) *component.FlexLayout
ToComponent converts the FlexLayout to a FlexLayout.
type Section ¶
type Section struct {
Members []SectionMember
}
func NewSection ¶
func NewSection() *Section
type SectionMember ¶
Click to show internal directories.
Click to hide internal directories.