reveal

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT 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

Overview

Package reveal plays the [animations] config on lys-ui revealers: the transition style and duration each transient surface resolves for entering or exiting (the per-surface, global, base cascade), the job of the Rust shell's surface_anim helper.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arm

func Arm(r *widget.Revealer, anims config.AnimationsConfig, s config.AnimSurface, exiting bool)

Arm sets r up for surface s entering (exiting false) or exiting: the resolved transition and duration, disabled animations snapping.

func GenieEdge

func GenieEdge(top bool) widget.Edge

GenieEdge is the edge a genie collapses toward for a surface anchored at the top (the popup position's rule: top positions collapse up, everything else down).

func Hide

func Hide(r *widget.Revealer, anims config.AnimationsConfig, s config.AnimSurface, done func())

Hide arms r for exiting s and hides it; done runs once the exit has played (at once when animations are off or nothing shows), unless a Show interrupts it first.

func Show

Show arms r for entering s and reveals it.

func Transition

Transition is the revealer transition for a config animation style.

Types

This section is empty.

Jump to

Keyboard shortcuts

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