API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceUIAnimatedBackground
Clip-driven background: an atlas, the clips cut from it, and the one that plays. Stretched over the widget box, so it suits a flat animated panel face or a progress bar's fill rather than a frame with corners to preserve - a nine-slice does not animate, and tiling would need a repeating sprite, which does not either. Playback runs through the application's animation system as soon as the widget is in a scene tree, and costs nothing while no clip is running. A ProgressBar on `fillMode: 'clip'` plays the frame at full size and cuts it to the value, which is what makes an animated bar read correctly.
import { UIAnimatedBackground } from '@codexo/exojs'Clip-driven background: an atlas, the clips cut from it, and the one that plays. Stretched over the widget box, so it suits a flat animated panel face or a progress bar's fill rather than a frame with corners to preserve - a nine-slice does not animate, and tiling would need a repeating sprite, which does not either.
Playback runs through the application's animation system as soon as the widget is in a scene tree, and costs nothing while no clip is running. A ProgressBar on `fillMode: 'clip'` plays the frame at full size and cuts it to the value, which is what makes an animated bar read correctly.
clip: stringclips: Readonly<Record<string, AnimatedSpriteClipDefinitionDefinition for a single animation clip registered on an AnimatedSprite.>>fit?: "stretch"kind: "animated"