package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Aug 18, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func ColorCycle(sel string, colors []string, duration time.Duration)
-
func Fade(sel string, from, to float64, duration time.Duration)
-
func Scale(sel string, from, to float64, duration time.Duration)
-
func Translate(sel string, fromX, fromY, toX, toY float64, duration time.Duration)
ColorCycle iterates the element's background color through the provided
list over the given duration.
Fade transitions the element's opacity from 'from' to 'to'.
Scale scales the element from the starting factor to the ending factor.
Translate moves the element selected by sel from the starting coordinates
to the destination using a translate transform.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.