JSFiddle - React, Tailwind, and code Playground

by Sean Wessell

HTML

<button id="object1">
  click
</button>
<div id="object2">
  test
</div>

JavaScript

var object1 = $("#object1");
var object2 = $("#object2");

object1.click(
  function(speed, easing, callback) {
    return speed == null || typeof speed === "boolean" ?
      cssFn.apply(this, arguments) :
      console.log(this)
    this.animate(genFx(name, true), speed, easing, callback);
  }
);