OTTO GROUP / RISK.IDENT
CEO
EDEKA / LUNAR GmbH
Projektmanagement digitale Projekte
JavaScript Grundlagen Modell Syntax Community Performance Fazit
Corefeatures
Interaktionen, Effekte, Widget, Themes
Responsive, HTML5 Elemente, Interaktionen
Corefeatures
UI Komponenten, Logik
> 200 Pakete mit komplexen Anwendungen
$("#someElementID").action(); $(".anotherClass").action(); $(this).action();
.add() .addBack() .addClass() .after() .ajaxComplete() .ajaxError() .ajaxSend() .ajaxStart() .ajaxStop() .ajaxSuccess() .andSelf() .animate() :animated .append() .appendTo() .attr() .before() .bind() .blur() :button callbacks.add() callbacks.disable() callbacks.disabled() callbacks.empty() callbacks.fire() callbacks.fired() callbacks.fireWith() callbacks.has() callbacks.lock() callbacks.locked() callbacks.remove() .change() :checkbox :checked .children() .clearQueue() .click() .clone() .closest() :contains() .contents() .context .css() .data() .dblclick() deferred.always() deferred.done() deferred.fail() deferred.isRejected() deferred.isResolved() deferred.notify() deferred.notifyWith() deferred.pipe() deferred.progress() deferred.promise() deferred.reject() deferred.rejectWith() deferred.resolve() deferred.resolveWith() deferred.state() deferred.then() .delay() .delegate() .dequeue() .detach() .die() :disabled .each() .empty() :empty :enabled .end() .eq() :eq() .error() :even event.currentTarget event.data event.delegateTarget event.isDefaultPrevented() event.isImmediatePropagationStopped() event.isPropagationStopped() event.metaKey event.namespace event.pageX event.pageY event.preventDefault() event.relatedTarget event.result event.stopImmediatePropagation() event.stopPropagation() event.target event.timeStamp event.type event.which .fadeIn() .fadeOut() .fadeTo() .fadeToggle() :file .filter() .find() .finish() .first() :first-child :first-of-type :first .focus() :focus .focusin() .focusout() .get() :gt() .has() :has() .hasClass() :header .height() :hidden .hide() .hover() .html() :image .index() .innerHeight() .innerWidth() :input .insertAfter() .insertBefore() .is() jQuery() .jquery jQuery.ajax() jQuery.ajaxPrefilter() jQuery.ajaxSetup() .keydown() .keypress() .keyup() :lang() .last() :last-child :last-of-type :last .length .live() .load() :lt() .map() .mousedown() .mouseenter() .mouseleave() .mousemove() .mouseout() .mouseover() .mouseup() .next() .nextAll() .nextUntil() .not() :not() :nth-child() :nth-last-child() :nth-last-of-type() :nth-of-type() :odd .off() .offset() .offsetParent() .on() .one() :only-child :only-of-type .outerHeight() .outerWidth() .parent() :parent .parents() .parentsUntil() :password .position() .prepend() .prependTo() .prev() .prevAll() .prevUntil() .promise() .prop() .pushStack() .queue() :radio .ready() .remove() .removeAttr() .removeClass() .removeData() .removeProp() .replaceAll() .replaceWith() :reset .resize() :root .scroll() .scrollLeft() .scrollTop() .select() :selected .serialize() .serializeArray() .show() .siblings() .size() .slice() .slideDown() .slideToggle() .slideUp() .stop() .submit() :submit :target .text() :text .toArray() .toggle() .toggleClass() .trigger() .triggerHandler() .unbind() .undelegate() .unload() .unwrap() .val() :visible .width() .wrap() .wrapAll() .wrapInner()
$("wowDoge").mouseover(function() { // Zufallszahl zwischen 0 und 3 var direction = Math.floor(Math.random() * 4); // Lass den Doge wandern switch(direction) { case 0: $(this).animate({'marginTop' : "-=300px"}); break; case 1: $(this).animate({'marginLeft' : "-=300px"}); break; case 2: $(this).animate({'marginTop' : "+=300px"}); break; case 3: $(this).animate({'marginLeft' : "+=300px"}); break; } });
dojo.require("dojox.widget.Toaster")
require(["dojo/request"],function (request){ request("weather.txt").then( function (text){ dojo.query("#messageArea p").IWAS(text); }, function (error){ console.log("Error Occurred: " + error); } ); });
Dojo
jQuery
Quelle: trends.builtwith.com
84 kb
163 kb
jQuery(".sel")
648,231 Ops/sec
dojo.query(".sel")
10.343 Ops/sec
jQuery(".sel .sub")
105,582 Ops/sec
dojo.query(".sel .sub")
10.280 Ops/sec
http://jsperf.com/mojo-of-dojo-and-jquery/92