goplayspace: github.com/iafan/goplayspace/client/component/splitter Index | Files

package splitter

import "github.com/iafan/goplayspace/client/component/splitter"

Index

Package Files

splitter.go

Constants

const (
    LeftPane = iota
    RightPane
    TopPane
    BottomPane
)

Splitter type definitions

type Splitter Uses

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 Uses

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

Render implements the vecty.Component interface.

Package splitter imports 6 packages (graph) and is imported by 1 packages. Updated 2017-12-17. Refresh now. Tools for package owners.