transition

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetOnEnter

func SetOnEnter(onenter func(...client.Script) seed.Option) seed.Option

func SetOnExit

func SetOnExit(onexit func(...client.Script) seed.Option) seed.Option

Types

type Option

type Option func(*Transition)

func In

func In(in animation.Animation) Option

func Out

func Out(out animation.Animation) Option

type Transition

type Transition struct {
	seed.Option

	In, Out animation.Animation
}
func DropDown() Transition

DropDown slides in from the right and then out to the left.

func Fade

func Fade() Transition

func New

func New(options ...Option) Transition

func SlideLeft

func SlideLeft() Transition

SlideLeft slides in from the left and then out to the right.

func SlideRight

func SlideRight() Transition

SlideRight slides in from the right and then out to the left.

func SlideUp

func SlideUp() Transition

SlideUp slides up from the bottom.

Jump to

Keyboard shortcuts

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