typeit icon indicating copy to clipboard operation
typeit copied to clipboard

Feature: Keep chars from previous string

Open jsenecal opened this issue 7 years ago • 2 comments

It would be nice to have a feature that would work in conjunction with breakLines: false where the script would only delete the last chars that are different from the previous string.

Example:

$('.type-it').typeIt({
    strings: ['I am a Jedi', 'I am Obi wan Kenobi'],
    breakLines: false,
    keepChars: true //suggested setting
});

Would first output "I am a Jedi" then delete only "a Jedi" then type "Obi wan Kenobi"

jsenecal avatar May 27 '17 22:05 jsenecal

Hm... I'm open to this idea. Will consider in future release!

alexmacarthur avatar Nov 28 '17 23:11 alexmacarthur

It would be awesome if it could also leave the characters at the end of a string when only the starting characters change...

E.g. ["Onboard employees", "Offboard Employees", "Reward Employees"].

sreuter avatar Apr 03 '23 01:04 sreuter