Ender.js examples

 



$('#woo').css({
    position: 'absolute',
    right: 0,
    top: '100px',
    opacity: 0,
    width: '1px',
    height: '4px',
    backgroundColor: 'green'
  })
  .animate({
    right: 384,
    "background-color": '#ff0000',
    opacity: 1,
    width: $('h1').offset().width,
    duration: 1000
  });


var F = $.klass(function () {
  this.o = '';
})
  .methods({
    get: function () {
      return this.o
    },
    set: function (v) {
      this.o = v;
      return this;
    }
  });

$('#doc p').color('grey').html((new F()).set('Where battles are won').get());