Skip to content

Releases: Arttse/jquery.auto-text-rotating

1.3.2

03 Feb 13:31
Compare
Choose a tag to compare
  • Added support as AMD module!
  • In code all quotmark to double (jQuery syntax)
  • Other small changes

1.3.1

12 Dec 09:03
Compare
Choose a tag to compare

Bump to v1.3.1. Small optimization

1.3.0

09 Jul 20:27
Compare
Choose a tag to compare

New

Now you can use Animate.css animations!

Settings 'init' method

animation

  • animateCss — use an external library CSS3 animations Animate.css.

animateCssClass

Type: string
Default: animated

Class element specified in Animate.css. Applies only to animation animateCss.

animateCssAnimation

Type: string or array
Default: ['bounceIn', 'bounceOut']

What animation from Animate.css perform animating. Applies only to animation animateCss.

If you specify how string, for example — animateCssAnimation: 'jello', it will be given only one animation.

If you specify how array, for example — animateCssAnimation: ['fadeInLeft', 'fadeOutRight'], the first value for the appearance, the second for the disappearance.

1.2.0

31 May 20:22
Compare
Choose a tag to compare

New

Settings 'init' method

animation

  • flipY — the effect of flip horizontally.
  • flipX — the effect of flip vertically.

animationRotateDeg

Now you can use type array

If you specify how number, for example — animationRotateDeg: 180, it will be set to 0 with appearance and 180 with the disappearance.

If you specify how array, for example — animationRotateDeg: [-90, 0], the first value for the appearance, the second for the disappearance. Excluding animation spin, there will always be 0 for appearance.

1.1.0

17 May 11:54
Compare
Choose a tag to compare

New

Methods

Now you can use methods.

init — Initialization. Start changing parts of the text with the settings. The basic method.
stop — Stop the rotation of the text.
reinit — Another initialization with the new settings.

Settings 'init' method

animation

no — There is no animation effect. Sometimes the correct thing? Huh?

reverse

Reverse rotation of the text. From the end.

Settings 'stop' method

content

  • original — inserts the original text which was prior to initialization.
  • firstPart — inserts the first part of the original text, separated by the specified separator.
  • lastPart — inserts the last part of the original text, separated by the specified separator.
  • currentPart — inserts the last shows part of the original text at the time of stop of rotation, separated by the specified separator.

separator

A separator for separating text into parts for insertion after the stop, it is necessary to content.

trim

Remove whitespaces at the beginning and at the end of the text.

Fix

  • Fixed animation: 'spin' in Internet Explorer 9. Now animation works correctly.

1.0.1

02 May 14:19
Compare
Choose a tag to compare

Patch and optimization

1.0.0

30 Apr 18:21
Compare
Choose a tag to compare

The first version with three animations and a bunch of settings.