spin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 0 Imported by: 66

Documentation

Overview

DO NOT EDIT : this file was automatically generated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name uint

Name represents a name for a spinner item.

const (
	Unknown Name = iota
	Arc
	Arrow
	Arrow2
	Arrow3
	Balloon
	Balloon2
	Bounce
	BouncingBall
	BouncingBar
	BoxBounce
	BoxBounce2
	Christmas
	Circle
	CircleHalves
	CircleQuarters
	Clock
	Dots
	Dots10
	Dots11
	Dots12
	Dots2
	Dots3
	Dots4
	Dots5
	Dots6
	Dots7
	Dots8
	Dots9
	Dqpb
	Earth
	Flip
	Grenade
	GrowHorizontal
	GrowVertical
	Hamburger
	Hearts
	Layer
	Line
	Line2
	Monkey
	Moon
	Noise
	Pipe
	Point
	Pong
	Runner
	Shark
	SimpleDots
	SimpleDotsScrolling
	Smiley
	SquareCorners
	Squish
	Star
	Star2
	Toggle
	Toggle10
	Toggle11
	Toggle12
	Toggle13
	Toggle2
	Toggle3
	Toggle4
	Toggle5
	Toggle6
	Toggle7
	Toggle8
	Toggle9
	Triangle
	Weather
)

available spinners

func (Name) String

func (s Name) String() string

type Spinner

type Spinner struct {
	Name     Name
	Interval int
	Frames   []string
}

Spinner defines a spinner widget

func Get

func Get(name Name) Spinner

Jump to

Keyboard shortcuts

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