A problem making typing effect using TagText #501
logihoryong
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Rex. I am using couple of your libraries in my game and it is of great help.
I have one problem that I couldn't think of a solution and want to ask you directly.
I applied a typing effect using
TagText
, by usingsetInterval
. Below is the code.The code simply add a string to a variable
final
and applies it usingsetText
text every 50 ms.The problem is that when there are tags, for example
<class='highlight'>Some text...</class>
, The tags (<class='highlight'>) also appear in the typing effect. After the tag set is completely appended and applied, the styles change the way they should.Is there any way to avoid this? Or may I request a feature on it?
Thanks a bunch!
Beta Was this translation helpful? Give feedback.
All reactions