splitter

package
v0.0.0-...-c88107b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LeftPane = iota
	RightPane
	TopPane
	BottomPane
)

Splitter type definitions

Variables

This section is empty.

Functions

This section is empty.

Types

type Splitter

type Splitter struct {
	vecty.Core

	Selector         string
	OppositeSelector string
	MinSizePercent   float64
	Type             int
	InvertSizeDelta  bool
	OnChange         func()
	// contains filtered or unexported fields
}

Splitter contains the column/row (aka vertical/horizontal) splitter component

func (*Splitter) Render

func (s *Splitter) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

Jump to

Keyboard shortcuts

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