JSFiddle - React, Tailwind, and code Playground
by honnza
JavaScript
jQuery.fn.foobar = function(options) {
var settings = jQuery.extend({
value: 5, name: "pete", bar: 655
}, options);
};
$(document).ready(function() {
$("p").foobar();
});