
org.devocative.wickomp.wrcs.form.equalize.min.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wickomp Show documentation
Show all versions of wickomp Show documentation
Web components for Apache Wicket
/*!
* equalize.js
* Author & copyright (c) 2012: Tim Svensen
* Dual MIT & GPL license
*
* Page: http://tsvensen.github.com/equalize.js
* Repo: https://github.com/tsvensen/equalize.js/
*/
!function (i) {
i.fn.equalize = function (e) {
var n, t, h = !1, c = !1;
return i.isPlainObject(e) ? (n = e.equalize || "height", h = e.children || !1, c = e.reset || !1) : n = e || "height", i.isFunction(i.fn[n]) ? (t = 0 < n.indexOf("eight") ? "height" : "width", this.each(function () {
var e = h ? i(this).find(h) : i(this).children(), s = 0;
e.each(function () {
var e = i(this);
c && e.css(t, ""), e = e[n](), e > s && (s = e)
}), e.css(t, s + "px")
})) : !1
}
}(jQuery);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy