LabelEffect interface exported
Last updated: 2026-03-05T20:47:10.119Z
Metrics
LOC: 11
Complexity: 1
Params: 0
Signature
interface LabelEffect
Source Code
export interface LabelEffect {
kind: "label";
/** Text to display in the floating label */
text: string;
/** Duration in ms (default: 2000) */
duration?: number;
/** Position relative to element — default: "above" */
position?: "above" | "below" | "left" | "right";
/** When to run relative to the action (default: "during") */
timing?: EffectTiming;
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| injectStyles | uses |