animation

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner is the main driver for animations package

func (*Runner) Active added in v1.2.0

func (r *Runner) Active() bool

Active reports whether any animation is running or waiting to start, so the driver keeps ticking frames for it.

func (*Runner) Start

func (r *Runner) Start(a *bellui.Animation)

Start will register the passed application and initiate its ticking.

func (*Runner) Stop

func (r *Runner) Stop(a *bellui.Animation)

Stop causes an animation to stop ticking (if it was still running) and removes it from the runner.

func (*Runner) TickAnimations

func (r *Runner) TickAnimations()

TickAnimations progresses all running animations by one tick. This will be called from the driver to update objects immediately before next paint.

Jump to

Keyboard shortcuts

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