Interface: FloatingReactionProps
@roomful/cursors / FloatingReactionProps
Interface: FloatingReactionProps
Section titled “Interface: FloatingReactionProps”Defined in: floating-reaction.ts:34
Configures the floating reaction overlay.
Properties
Section titled “Properties”delayMs?
Section titled “delayMs?”
optionaldelayMs:number
Defined in: floating-reaction.ts:63
Delays the animation start in milliseconds.
durationMs?
Section titled “durationMs?”
optionaldurationMs:number
Defined in: floating-reaction.ts:58
Overrides the animation duration in milliseconds.
emoji:
string
Defined in: floating-reaction.ts:38
Supplies the emoji or text glyph to render.
onAnimationEnd()?
Section titled “onAnimationEnd()?”
optionalonAnimationEnd: () =>void
Defined in: floating-reaction.ts:68
Runs after the animation completes.
Returns
Section titled “Returns”void
optionalsize:number
Defined in: floating-reaction.ts:53
Overrides the rendered emoji size in pixels.
x:
number
Defined in: floating-reaction.ts:43
Supplies the normalized horizontal coordinate.
y:
number
Defined in: floating-reaction.ts:48
Supplies the normalized vertical coordinate.