Remove Messages that have scrolled too far

Proloe

New member
Streamer
Pronouns
she/her
Twitch
twitch.tv/theproloe
I've been setting up a chat widget to move away from Stream Elements, and I've basically completely recreated the setup I had previously... with one exception that's really stumping me.

As far as I can tell, Slime2 provides options for removing messages if either too many messages are sent, or messages have been displayed for a specific time.

What I want, though, are for messages that scroll off screen to fade out. Effectively, this would mean iterating over messages, checking their position on the page, and asking Slime2 to dispose of them (using an exit animation) if they're above a certain position.

AS FAR AS I CAN TELL, this isn't trivial to do, but I can't even tell how I would approach it since the Slime2 docs seem to not have anything relevant to this. Does anyone know how this might be done?
 
Back
Top