You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried your method plus a bunch of different hacks to "destroy" Splitting. The issue is it never truly gets destroyed so it can't be recalled. I am trying to give user input a splitting style so the --word and --char count changes. Any ideas how I might get Splitting to run a second time?
In case someone stumbles across this like I did, I figured it out.
You need to set the "banana" emoji property to null, then you can call Splitting again
Activity
iamrobert commentedon Oct 30, 2020
Hello,
There isn't a method, but I have done it here:
https://www.iamrobert.com/
On the top banner when you hover over it - the text spans will remove after it has finished animating.
We used a custom function:
Here's a demo where its working:
https://codepen.io/iamrobert/pen/ZEOxRPd
The Splitting character spans are green and will go to white when they are removed.
We adjusted our splitting output - so the function won't remove 100% of the html - but it should give you a start.
cydstumpel commentedon Feb 7, 2021
I used this because I had trouble using splitting in combination with Highway JS, might be useful for you as well:
GavinRF commentedon Dec 11, 2022
I've tried your method plus a bunch of different hacks to "destroy" Splitting. The issue is it never truly gets destroyed so it can't be recalled. I am trying to give user input a splitting style so the --word and --char count changes. Any ideas how I might get Splitting to run a second time?
https://codepen.io/GavFior/pen/GRGLYOv?editors=1010
Eldzej commentedon Jan 8, 2024
In case someone stumbles across this like I did, I figured it out.
You need to set the "banana" emoji property to null, then you can call Splitting again
So something like this
split['🍌'] = null