Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 347 Bytes

README.MD

File metadata and controls

17 lines (12 loc) · 347 Bytes

Simple Match Height

A simple javascript height-matching utility function with no dependencies.

e.g.

// trigger matchheight
function triggerMatchHeights(selector) {
  if (selector === undefined) return false;
  const target = [...document.querySelectorAll(selector)];
  matchSomeHeights(target);
}

triggerMatchHeights('.box');