Conformer

Dependancy free height matching for groups of dom elements.
Alternatives To Conformer
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Element Resize Detector1,1394,4201,2392 years ago41December 14, 2021mitJavaScript
Optimized cross-browser resize listener for elements.
React Resize Detector1,1133,640654a month ago108April 09, 20232mitTypeScript
A Cross-Browser, Event-based, Element Resize Detection for React
Resize Observer886281803 months ago62August 01, 20219apache-2.0TypeScript
Polyfills the ResizeObserver API.
Simple Element Resize Detector1871954 years ago6June 13, 20193JavaScript
Observes element size changes using a hidden iframe
Aurelia Resize14
5 years ago4mitTypeScript
aurelia plugin to observe DOM-element resize events
Resizey7
5 years agomitJavaScript
🐡 Resizey: Resize event listeners on DOM Elements!
Conformer2
8 years agomitJavaScript
Dependancy free height matching for groups of dom elements.
Alternatives To Conformer
Select To Compare


Alternative Project Comparisons
Readme

Conformer

Conformer is a dependency free ie9 and up library for matching container heights.

It is AMD/Common enabled as well as living on the window if it needs to, and available through NPM and Bower.

Install

NPM:

npm install conformer --save

Bower:

bower install conformer -S

Usage

    var Conformer = require('conformer');
    var conformer = new Conformer({
                    debounceRate: 200,
                    selector: '.a-custom-selector',
                    threshold: MOBILE_BREAKPOINT,
                    type: 'all'
                });

Options

debounceRate

Resize events are debounced. The default is 200ms, feel free to adjust.

selector

Uses querySelectorAll. Defaults to '.conformer'.

threshold

Many mobile layouts wont need height matching, whereas desktop will. Pass your mobile threshold here.

Defaults to 0.

type

Takes 'all' or 'row'. Defaults to row, which matches all items at same offset. All sets the entire dom group to the same height.

License

The MIT License (MIT)

Copyright (c) 2015 Sam Estok

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Popular Dom Projects
Popular Resize Events Projects
Popular Web User Interface Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Dom
Resize Events