Version: v0.0.0-...-a7167af Latest Latest

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

Go to latest
Published: Nov 25, 2020 License: MIT, BSD-3-Clause Imports: 5 Imported by: 1




This section is empty.


This section is empty.


This section is empty.


type ImmSelectEntry

type ImmSelectEntry interface {
	Range() []Label

type Label

type Label interface {
	Label() string

type LabelEntries

type LabelEntries struct {
	// contains filtered or unexported fields

LabelEntries is an immutable type and has the following template:


func NewLabelEntries

func NewLabelEntries(s ...Label) *LabelEntries

func NewLabelEntriesLen

func NewLabelEntriesLen(l int) *LabelEntries

func (*LabelEntries) Append

func (m *LabelEntries) Append(v ...Label) *LabelEntries

func (*LabelEntries) AsImmutable

func (m *LabelEntries) AsImmutable(v *LabelEntries) *LabelEntries

func (*LabelEntries) AsMutable

func (m *LabelEntries) AsMutable() *LabelEntries

func (*LabelEntries) Get

func (m *LabelEntries) Get(i int) Label

func (*LabelEntries) IsDeeplyNonMutable

func (s *LabelEntries) IsDeeplyNonMutable(seen map[interface{}]bool) bool

func (*LabelEntries) Len

func (m *LabelEntries) Len() int

func (*LabelEntries) Mutable

func (m *LabelEntries) Mutable() bool

func (*LabelEntries) Range

func (m *LabelEntries) Range() []Label

func (*LabelEntries) Set

func (m *LabelEntries) Set(i int, v Label) *LabelEntries

func (*LabelEntries) WithImmutable

func (m *LabelEntries) WithImmutable(f func(mi *LabelEntries)) *LabelEntries

func (*LabelEntries) WithMutable

func (m *LabelEntries) WithMutable(f func(mi *LabelEntries)) *LabelEntries

type OnSelect

type OnSelect interface {
	OnSelect(i Label)

type SelectDef

type SelectDef struct {

SelectDef is a wrapper around the component. It allows any value implementing the Label interface to be selected

func (SelectDef) ComponentWillMount

func (p SelectDef) ComponentWillMount()

func (SelectDef) ComponentWillReceiveProps

func (p SelectDef) ComponentWillReceiveProps(props SelectProps)

func (SelectDef) ComponentWillReceivePropsIntf

func (s SelectDef) ComponentWillReceivePropsIntf(val interface{})

ComponentWillReceivePropsIntf is an auto-generated proxy to ComponentWillReceiveProps

func (SelectDef) GetInitialStateIntf

func (s SelectDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (SelectDef) Props

func (s SelectDef) Props() SelectProps

Props is an auto-generated proxy to the current props of Select

func (SelectDef) Render

func (p SelectDef) Render() r.Element

func (SelectDef) RendersElement

func (s SelectDef) RendersElement() react.Element

func (SelectDef) SetState

func (s SelectDef) SetState(state SelectState)

SetState is an auto-generated proxy proxy to update the state for the Select component. SetState does not immediately mutate s.State() but creates a pending state transition.

func (SelectDef) State

func (s SelectDef) State() SelectState

State is an auto-generated proxy to return the current state in use for the render of the Select component

type SelectElem

type SelectElem struct {

func Select

func Select(props SelectProps) *SelectElem

Select creates a new instance of the SelectDef component with the provided props

type SelectProps

type SelectProps struct {
	Entry   Label
	Entries ImmSelectEntry

func (SelectProps) EqualsIntf

func (s SelectProps) EqualsIntf(val react.Props) bool

func (SelectProps) IsProps

func (s SelectProps) IsProps()

IsProps is an auto-generated definition so that SelectProps implements the interface.

type SelectState

type SelectState struct {
	// contains filtered or unexported fields

func (SelectState) EqualsIntf

func (s SelectState) EqualsIntf(val react.State) bool

func (SelectState) IsState

func (s SelectState) IsState()

IsState is an auto-generated definition so that SelectState implements the interface.

Jump to

Keyboard shortcuts

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