Documentation

effect()

Applies a render effect to this element.

effect(name: RenderEffect.EffectName | undefined, optional?: boolean): this;

Notes

Parameters

Return value

The builder instance for chaining.

Examples

UI.Column(content).effect("fade")  // Fades in on render, fades out on removal
UI.Column(content).effect("fadeIn").effect("scaleOut")  // Different enter/exit effects

Related