Skip to content

v2.2.1

Compare
Choose a tag to compare
@MrSaints MrSaints released this 25 Sep 07:49
· 23 commits to master since this release

Changes since v2.0.0

General

  • Supports the latest Animate.css (v3.2.0) and jQuery (v2.1.1)
  • Removed will-change (added in v2.1.x 52920df)
  • Replaced Grunt JSHint with ESLint (7881a8b)
  • Replaced text rotation via className with innerHTML (less layout thrashing 5ce41d7)

New features

  • Added start() and stop() method (accessible via jQuery data method). Addresses #2 (976206c)

Usage example:

var morphext = $("#js-rotating").Morphext({
   animation: "rotateIn"
});
var data = morphext.data("plugin_Morphext");

// Start Morphext (autostarts by default)
data.start();

// Stop Morphext
data.stop();