Typeit Versions Save

The most versatile JavaScript typewriter effect library on the planet.

v8.0.3

2 years ago

Not much exciting here. Just some dependency updates, and switching over from a Node to bash for the postinstall script.

v8.0.2

2 years ago

When a number of steps was being passed to .move() that was outside the range of typed characters, unexpected weirdness was occurring. This released fixes that bug. Passing values beyond the lower or upper range of typed characters will no longer cause any execution problems, but instead just work.

v8.0.1

2 years ago

There were a couple of issues occurring with TypeIt's callback methods.

https://typeitjs.com/docs/vanilla/changelog#v801

v8.0.0

2 years ago

v8 introduces a host of new features & enhancements, and with limited breaking changes. For a full changelog, see here:

https://typeitjs.com/docs/vanilla/changelog#v800

v7.0.4

4 years ago

A bug was causing a delay to gradually increase as animations looped over and over again. This releases fixes that bug, simplifying the internal loop logic along the way.

v7.0.3

4 years ago

There was a bug that was removing a custom cursor children during deletion. This release properly ignores the cursor and its children correctly, so that they're preserved throughout the animation.

v7.0.2

4 years ago

A bug was causing <br> tags to be removed when strings were being deleted. This release fixes that.

v7.0.1

4 years ago

This release fixes a bug caused by how TypeIt handled empty strings passed to the strings option. When something like ["", "foo", "bar"] was passed, the animation would halt on the empty string. See issue #199 for more details.

v7.0.0

4 years ago

TypeIt v7 is here!

Highlights

  • Over 25% slimmer than v6.
  • Introduces a .move() method to move the cursor wherever you want during animation.
  • Allows you to set a delay to fire after each instance method.

Breaking Changes

  • You can target only one element per TypeIt instance, rather than several at once. If a selector is passed that applies to multiple elements, the first will be used.
  • Callback method args now provide only the queue item that was just fired, and the instance itself.

See Example

This example uses some of the new features of v7, including movable cursors and instance method delays:

https://codepen.io/alexmacarthur/pen/rNVMXaV

v6.5.1

4 years ago

This release fixes a two bugs:

  • #179 - incorrect handling of emojis/surrogate pairs.
  • #171 - inability to delete input strings correctly

In addition, all callback methods are now asynchronous, so you can effectively put them on hold until some asynchronous action has completed. Example:

new TypeIt({
   strings: "My string is here",
   afterStep: async () => {
    // Won't move onto the next step until timeout completes: 
    await new Promise((resolve, reject) => {
      setTimeout(() => {
        return resolve();
      }, 2000);
    });
   })
}).go();