jQuery Reference

$() is the same as jquery()

jQuery Cheat Sheethttp://overapi.com/jquery

jQuery UI: https://jqueryui.com/

jQuery Plugin: https://plugins.jquery.com/

jQuery API: https://api.jquery.com/

Designing with jQuery

Event Handler: $(‘selector’).on(“event”, “childSelector”, function)

Custom Event: $(‘selector’).on(“event.namespace”, method)

Removing Event Handler – off(): $(‘button’).off(‘click.image’);

Trigger Events – trigger(): $(‘button’).trigger(‘click’);

Namespacing Events: $(‘button’).on(‘click.image’, picture); / $(‘button’).on(‘click.details’, status);

Event Parameter: event.stopPropagation() & event.preventDefault()

jQuery Plugins: $.fn.plugin / $.fn.plugin 2

jQuery Plugins with Parameters: $.fn.plugin = function(options)

jQuery Utility – can accept 2 or more JS object: $.extend(target[, object1][, objectn])

Combined Slide and Fade: https://css-tricks.com/snippets/jquery/combine-slide-and-fade-functions/

Exclude $(this) from Selector: https://css-tricks.com/snippets/jquery/exclude-this-from-selector/

Calculate Distance Between Mouse and Element: https://css-tricks.com/snippets/jquery/calculate-distance-between-mouse-and-element/

Reviewer: link

Advertisements

About bernadetteengleman

Hello, I am Bernadette from New York City. I moved here from Chicago in 2013. I am originally from the Philippines. I started studying web programming in 2015. I love it because I like making fun websites and web apps. The projects that I built so far are posted below. I like to cook and I love to travel. I also like to volunteer and I am a team leader with the non-profit organization, NYCares.
This entry was posted in jQuery and tagged , , , , , , , , , , , , , , . Bookmark the permalink.