Releases: alexmacarthur/typeit
Fix strict mode errors.
Addresses a variety of strict mode errors being thrown in the browser when in use.
Implement strict mode.
Implements strict mode for the plugin.
Improve function that checks for element visibility.
In previous versions, element visibility detection was unreliable. This release improves such detection.
Introduce deleteSpeed option.
Introduces a new 'deleteSpeed' option that enables a user to set the speed of deletions.
Add 'startDelete' option, improve initialization process, improve UI when waiting for string(s) to type.
This build does the following:
In previous versions, before a string was typed, there was empty space in the element, and so when the cursor began or when text appeared, the element would jolt as something filled that space. This release places a zero-width element in every element for the sole purpose of holding text space until a string is typed.
A new feature is added -- 'startDelete' -- which allows users to first delete string in an element before typing a defined set of strings. This requires that a string is defined in the HTML element up on initialization.
In previous versions, when a typeIt() instance was called on an element with one already active, things got messy because the HTML generated by TypeIt wasn't removed properly before re-initializing. This build, by default, removes all the junk when an instance is generated, preventing these problems.
Refactor, Introduce Companion Functions, New AutoStart Option
This release completely restructures how TypeIt is put together. Core functions are more modular and independent, making for more efficient execution of typing.
Additionally, companion functions are introduced to allow users to chain individual commands together for limitless control over typing effects.
Finally, an 'autoStart' option has been added, which when disabled, will initialize typing when the element comes into view.
Fix Non-Working Callback Function Option
In the previous release, any callback function that was added was not successfully executing. This is fixed with this release.
Lighter Than Ever, Single JS File, No CSS Dependency, Cursor Control Options Added
This release of TypeIt is lighter than ever (literally half the size), has been cut down to a single JS file (instead of JS + CSS), and has a couple new features to control the cursor.
Fix But Not Allowing Use of In-Element String for JS Fallback
This release fixes the bug that was preventing anyone from successfully using a string that was placed directly in the element rather than by passing it into the typeIt() call. Now, a user can use a string that's entered in the element, and also use other settings by passing them in when calling the plugin.
Add Check for Existence of Array to Delete
Adds a small check to see if there are characters in the array to delete. If not, set instance variable to empty array instead of null, so the process can successfully execute. Small bug fix.